Skip to content

Commit

Permalink
Change permissions for oxipng
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Nov 6, 2024
1 parent a7860d1 commit b0636c1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ env:
MARKDOWNLINT_CLI2_VERSION: "0.13.0"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write # git push for oxipng
pages: write
id-token: write
#permissions:
# contents: write # git push for oxipng
# pages: write
# id-token: write

jobs:
build:
Expand Down Expand Up @@ -104,6 +104,8 @@ jobs:

oxipng:
runs-on: ubuntu-latest
# Only run on pull requests. Could maybe be changed to always run, but fail if there's a diff outside PRs.
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit b0636c1

Please sign in to comment.