mirror of https://github.com/jab/bidict.git
Specify permissions for GitHub Actions workflows.
This commit is contained in:
parent
b0cd2a4f07
commit
ae9f10bc7b
|
@ -25,3 +25,6 @@ jobs:
|
|||
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
|
||||
with:
|
||||
extra_args: --verbose
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
@ -20,3 +20,6 @@ jobs:
|
|||
with:
|
||||
user: __token__
|
||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
@ -32,3 +32,6 @@ jobs:
|
|||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||
repository_url: https://test.pypi.org/legacy/
|
||||
verbose: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
@ -60,3 +60,6 @@ jobs:
|
|||
verbose: true
|
||||
files: ./coverage.xml
|
||||
fail_ci_if_error: false # https://github.com/codecov/codecov-action/issues/557
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
@ -21,3 +21,7 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.ACTIONS_VERSION_UPDATER_TOKEN }}
|
||||
update_version_with: release-commit-sha
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
|
Loading…
Reference in New Issue