Skip to content

Commit

Permalink
chore: add permissions to deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Mar 5, 2024
1 parent 732ffc2 commit f0fdc13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:
- cron: "0 2 * * 2"
workflow_dispatch:

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: gh pr create -B main -H develop --title 'Prod deploy' --fill
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f0fdc13

Please sign in to comment.