Skip to content

Commit

Permalink
Merge pull request #13 from cipherstash/fix-ci-rulesets
Browse files Browse the repository at this point in the history
feat(ci): add github app for git actions
  • Loading branch information
calvinbrewer authored Feb 26, 2025
2 parents 95d016c + e7ff516 commit 5d37fad
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
actions: read
outputs:
dryrun: ${{ steps.dryrun.outputs.dryrun }}
publish: ${{ steps.publish.outputs.publish }}
Expand Down Expand Up @@ -73,8 +75,16 @@ jobs:
exit 1
fi
echo publish=true | tee -a $GITHUB_OUTPUT
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PUBLISHER_APP_ID }}
private-key: ${{ secrets.PUBLISHER_SECRET_KEY }}
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
- name: Setup Neon Environment
uses: ./.github/actions/setup
with:
Expand Down

0 comments on commit 5d37fad

Please sign in to comment.