Skip to content

Commit

Permalink
Bump deploy preview permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l committed Sep 24, 2023
1 parent df833b0 commit 6928900
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
permissions:
issues: write
deployments: write
permissions: write-all

steps:
- name: Download artifact
Expand Down Expand Up @@ -50,7 +48,6 @@ jobs:
directory: build
gitHubToken: ${{ secrets.GITHUB_TOKEN }} # GitHub Deployments
wranglerVersion: "3"

- name: "Comment on PR"
uses: actions/github-script@v3
with:
Expand All @@ -67,4 +64,5 @@ jobs:
});
} catch (err) {
console.log(err);
process.exit(1);
}

0 comments on commit 6928900

Please sign in to comment.