Skip to content

Commit 0c16d7a

Browse files
authored
Update mike-app-test.yaml
1 parent ef62f19 commit 0c16d7a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/mike-app-test.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,16 @@ jobs:
1111
- name: Modify a file # Example step where your workflow makes changes
1212
run: echo "Changes made by workflow!" >> README.md
1313

14+
- name: Generate a token
15+
id: generate-token
16+
uses: actions/create-github-app-token@v1
17+
with:
18+
app-id: ${{ vars.APP_ID }}
19+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
20+
1421
- uses: peter-evans/create-pull-request@v4 # Create the PR
1522
with:
16-
token: ${{ secrets.MIKE_JAVA_BOT_SECRET }}
23+
token: ${{ steps.generate-token.outputs.token }}
1724
commit-message: 'Update README from the workflow'
1825
title: 'Workflow Made Changes'
1926
body: 'This PR automatically updates the README'

0 commit comments

Comments
 (0)