Skip to content

Commit

Permalink
add permissions to write to deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Aug 26, 2024
1 parent 6a39274 commit 01c907d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pull-request-preview-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
types: [closed]

permissions:
contents: read
deployments: write

jobs:
cleanup:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pull-request-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on:
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read
deployments: write

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 01c907d

Please sign in to comment.