Skip to content

Commit 432dd66

Browse files
test
1 parent 52b75ce commit 432dd66

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,16 @@ jobs:
55
test:
66
runs-on: ubuntu-latest
77
steps:
8-
- run: echo foo
9-
if: env.FOO
8+
- name: Generate token
9+
id: generate_token
10+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
11+
with:
12+
app_id: ${{secrets.APP_ID}}
13+
private_key: ${{secrets.APP_PRIVATE_KEY}}
14+
# issues:write - Create labels
15+
# pull_requests:write - Post comments and set labels
16+
# contents:write - Push commits
17+
permissions: >-
18+
{"pull_requests": "write", "issues": "write", "contents": "write"}
19+
repositories: >-
20+
["${{github.repository}}"]

0 commit comments

Comments
 (0)