Skip to content

Commit

Permalink
Adding content: write permission (#36)
Browse files Browse the repository at this point in the history
Got this error when upload-release-action tried to add artifacs to an
existing release:

```
Error: Resource not accessible by integration - https://docs.github.com/rest
```

Fixing as per
https://github.com/svenstaro/upload-release-action/tree/v2/?tab=readme-ov-file#permissions
  • Loading branch information
Robpol86 authored Jul 6, 2024
1 parent 7dbb9fd commit 74c3299
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
name: pypi
url: https://pypi.org/p/sphinx-disqus
permissions:
contents: write
id-token: write
steps:
- name: Download Build Artifact
Expand Down

0 comments on commit 74c3299

Please sign in to comment.