Skip to content

Commit

Permalink
Actions: Add permissions syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmccartney committed Dec 1, 2023
1 parent 483b3fb commit 779f2fd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ on:
push:
branches:
- main

permissions:
actions: write
checks: write
deployments: write
pull-requests: write
statuses: write
jobs:
version:
runs-on: ubuntu-latest
Expand All @@ -22,7 +27,7 @@ jobs:
- name: "Backend: Automated Version Bump"
uses: "phips28/gh-action-bump-version@master"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGEJSON_DIR: "src"
with:
commit-message: "CI: bumps backend version to {{version}}"
Expand All @@ -37,7 +42,7 @@ jobs:
- name: "Frontend: Automated Version Bump"
uses: "phips28/gh-action-bump-version@master"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGEJSON_DIR: "src/client"
with:
bump-policy: "ignore"
Expand Down

0 comments on commit 779f2fd

Please sign in to comment.