Skip to content

Commit

Permalink
🔒️Fix release-creation permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
fTrestour committed Oct 26, 2024
1 parent 07e64c9 commit 9e9df7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ The repository is organized as follows:
This project uses GitHub Actions to:
- Test the build is not broken when pushing on any branch.
- Create a release containing the built website in an archive file - both `.tar.gz` and `zip` - when pushing on `main`
- Pull updates from the template repository into your project. To do that : "Actions" > "Template update" > "Run workflow". To have it work properly, you should update workflow permissions beforehand in "Settings" > "Actions" > "General", like so:
![Needed permissions](./assets/permissions.png)

## Getting Started

Expand Down
Binary file added assets/permissions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9e9df7a

Please sign in to comment.