Skip to content

Commit 710f897

Browse files
committed
feat: ✨ pipeline
1 parent a97d2e8 commit 710f897

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Generate App Token
2+
on:
3+
workflow_run:
4+
types: [requested]
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: 🚧 Install
11+
run: |
12+
yarn
13+
- name: 📦 Build
14+
run: |
15+
yarn build
16+
- uses: ./
17+
with:
18+
APP_ID: ${{ secrets.APP_ID }}
19+
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
20+
SECRET_NAME: APP_TOKEN

.github/workflows/needs-more-info.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
with:
2222
APP_ID: ${{ secrets.APP_ID }}
2323
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
24-
SECRET_NAME: GITHUB_TOKEN
24+
SECRET_NAME: APP_TOKEN
2525
- uses: bubkoo/needs-more-info@v1
2626
with:
2727
# GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
GITHUB_TOKEN: ${{ secrets.APP_TOKEN }}
2929
CONFIG_FILE: .github/needs-more-info.yml

0 commit comments

Comments
 (0)