Skip to content

Commit

Permalink
ci: Adding permissions for token
Browse files Browse the repository at this point in the history
Job [failed](https://github.com/AFM-SPM/AFMReader/actions/runs/9284848123) so updating permissions to grant permissions.
  • Loading branch information
ns-rse committed May 29, 2024
1 parent e7c49ca commit a9ce71f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- v*
workflow_dispatch: # Uncomment line if you also want to trigger action manually

permissions:
id-token: write

jobs:
build-release:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,7 @@ _version.py
\#*

# Ignore topostats/_version.py as per setuptools_scm
AFMReader/_version.py
AFMReader/_version.py

# Ignore tmp/ directory
tmp/

0 comments on commit a9ce71f

Please sign in to comment.