Skip to content

Commit daa2e57

Browse files
committed
feat: fix bypass
1 parent 79fdce9 commit daa2e57

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,26 @@ jobs:
2323
new-release: ${{ steps.semantic.outputs.new_release_published }}
2424
version: ${{ steps.semantic.outputs.new_release_version }}
2525
steps:
26+
- uses: actions/create-github-app-token@v2
27+
id: app
28+
with:
29+
app-id: ${{ secrets.DEVOPS_BUDDY_APP_ID }}
30+
private-key: ${{ secrets.DEVOPS_BUDDY_PRIVATE_KEY }}
31+
32+
- name: Setup Git (bot da App)
33+
run: |
34+
git config --global user.name "${{ steps.app.outputs.app-slug }}[bot]"
35+
git config --global user.email "${{ steps.app.outputs.app-slug }}[bot]@users.noreply.github.com"
36+
2637
- uses: actions/checkout@v6
2738
with:
2839
fetch-depth: 0
40+
token: ${{ steps.app.outputs.token }}
2941

3042
- uses: actions/setup-node@v6
3143
with:
3244
node-version: "24"
3345

34-
- uses: actions/create-github-app-token@v2
35-
id: app
36-
with:
37-
app-id: ${{ secrets.DEVOPS_BUDDY_APP_ID }}
38-
private-key: ${{ secrets.DEVOPS_BUDDY_PRIVATE_KEY }}
39-
4046
- id: semantic
4147
uses: cycjimmy/semantic-release-action@v4
4248
with:

0 commit comments

Comments
 (0)