Skip to content

Commit

Permalink
take away write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Jan 3, 2025
1 parent ed68277 commit 0792ce0
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ permissions:

jobs:
generate-screenshots-linux:
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
# permissions:
# # Give the default GITHUB_TOKEN write permission to commit and push the
# # added or changed files to the repository.
# contents: write
env:
NODE_OPTIONS: "--max-old-space-size=7168"
FORCE_COLOR: 3
Expand Down Expand Up @@ -62,12 +62,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

# - uses: actions/checkout@v4
# # Include the pull request ref in the checkout action to prevent merge commit
# # https://github.com/actions/checkout?tab=readme-ov-file#checkout-pull-request-head-commit-instead-of-merge-commit
# with:
# ref: ${{ github.event.pull_request.head.sha }}

# Run steps that make changes to the local repo here.
- name: Make changes and commit
run: |
Expand Down

0 comments on commit 0792ce0

Please sign in to comment.