Skip to content

Commit 3fd0a20

Browse files
committed
Test token
1 parent 99a1df0 commit 3fd0a20

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

.github/workflows/bench.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ jobs:
124124
with:
125125
app-id: ${{ secrets.TOKEN_APP_ID }}
126126
private-key: ${{ secrets.TOKEN_APP_PRIVATE_KEY }}
127-
permission-issues: write
128-
permission-pull-requests: write
127+
# owner: ${{ github.repository_owner }}
128+
# permission-issues: write
129+
# permission-pull-requests: write
129130
- name: Build benchmark comment body
130131
if: success()
131132
run: |

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Test token
2+
3+
on:
4+
pull_request:
5+
6+
test-token:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Generate token to write PR comment
10+
uses: actions/create-github-app-token@v2
11+
if: always()
12+
id: app-token
13+
with:
14+
app-id: ${{ secrets.TOKEN_APP_ID }}
15+
private-key: ${{ secrets.TOKEN_APP_PRIVATE_KEY }}
16+
owner: ${{ github.repository_owner }}
17+
permission-issues: write
18+
permission-pull-requests: write

0 commit comments

Comments
 (0)