Skip to content

Commit ef8140a

Browse files
committed
Sample bot
[skip ci]
1 parent d16e0c1 commit ef8140a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/bump-controls.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ jobs:
3131
- name: Checkout the repository
3232
uses: actions/checkout@v4
3333

34+
- name: Generate GitHub Apps token
35+
if: github.repository_owner == 'Lamparter'
36+
id: generate
37+
uses: actions/create-github-app-token@v1
38+
with:
39+
app-id: ${{ secrets.BOT_APP_ID }}
40+
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
41+
42+
- name: Login to gh cli
43+
run: |
44+
"GH_TOKEN=${{ steps.generate.outputs.token }}"
45+
3446
- name: Bump Version
3547
id: bump_version
3648
shell: pwsh

0 commit comments

Comments
 (0)