Skip to content

Commit

Permalink
move permissions to the correct level
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuball committed Dec 3, 2024
1 parent 4e4bace commit 5932117
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ jobs:
deploy:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permission:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,5 +19,3 @@ name: Deploy to GitHub Pages
push:
branches:
- main
permission:
contents: write
2 changes: 1 addition & 1 deletion cells/repository/configs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ in {
data = {
name = "Deploy to GitHub Pages";
on.push.branches = ["main"];
permission.contents = "write";

jobs.deploy = {
runs-on = "ubuntu-latest";
concurrency.group = "\${{ github.workflow }}-\${{ github.ref }}";
permission.contents = "write";
steps = [
{ uses = "actions/checkout@v4"; }
{ uses = "nixbuild/nix-quick-install-action@v29"; }
Expand Down

0 comments on commit 5932117

Please sign in to comment.