Skip to content

Commit 321df53

Browse files
committed
readme: add action permission settings
When creating a new repo from the template, you must also edit the GitHub Actions workflow permissions.
1 parent 5555ec4 commit 321df53

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ https://github.com/DeterminateSystems/update-flake-lock/ action.
88
1. Click "Use this template"
99
1. Give it a name, and click "Create repository from template"
1010
1. Modify the `.github/workflows/update.yml` file to point to your fork's `update-flake-lock` repository and branch
11+
1. Go to the "Settings" tab, then under "Actions" → "General" → " "Workflow permissions"
12+
- Ensure that "Read and write permissions" is selected
13+
- Ensure that "Allow GitHub Actions to create and approve pull requests" is ticked
14+
- Click "Save"
1115
1. Go to the "Actions" tab and click on "update-flake-lock"
1216
1. Then click the "Run workflow" dropdown
1317
1. Finally, click the "Run workflow" button

0 commit comments

Comments
 (0)