Merge pull request #2868 from sashashura/patch-1

GitHub Workflows security hardening
This commit is contained in:
Benoit Chesneau 2023-01-17 19:37:18 +01:00 committed by GitHub
commit a5867d0815
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
name: lint
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tox-lint:
runs-on: ubuntu-latest

View File

@ -1,5 +1,7 @@
name: tox
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tox:
strategy: