Skip to content

Commit

Permalink
ci: workflow permission updates (#27)
Browse files Browse the repository at this point in the history
* ci: release cycle gh token fixes

* ci: workflow fixes

* ci: workflow permission updates
  • Loading branch information
priyanshuverma-dev authored Nov 19, 2024
1 parent 4dc5045 commit d0d5adc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/trigger-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ on:
types:
- closed # Detect when a pull request is merged

permissions:
contents: read

jobs:
trigger:
if: ${{ github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write

steps:
- name: Install jq
Expand Down

0 comments on commit d0d5adc

Please sign in to comment.