Skip to content

Commit e3f2ffd

Browse files
committed
fix(release): go back to using an app token
We've moved back to Rulesets, where app bypass should work correctly.
1 parent 1c79a8b commit e3f2ffd

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
with:
1616
persist-credentials: false
1717

18+
- id: token
19+
uses: actions/create-github-app-token@v2
20+
with:
21+
app-id: ${{ vars.FRECKLE_AUTOMATION_APP_ID }}
22+
private-key: ${{ secrets.FRECKLE_AUTOMATION_PRIVATE_KEY }}
23+
1824
- uses: cycjimmy/semantic-release-action@v4
1925
with:
2026
extra_plugins: |
@@ -23,4 +29,4 @@ jobs:
2329
semantic-release-major-tag
2430
env:
2531
FORCE_COLOR: 1
26-
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
32+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}

0 commit comments

Comments
 (0)