Skip to content

Commit 5a8c823

Browse files
committed
test: βœ… use this action
1 parent e42d1af commit 5a8c823

File tree

3 files changed

+6
-32
lines changed

3 files changed

+6
-32
lines changed
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
name: Generate App Token
1+
name: Test
22
on:
3-
workflow_run:
4-
workflows:
5-
- Needs
6-
types:
7-
- requested
3+
push:
84
jobs:
9-
generate:
5+
test:
106
runs-on: ubuntu-latest
117
steps:
128
- uses: actions/checkout@v2
@@ -18,6 +14,5 @@ jobs:
1814
yarn build
1915
- uses: ./
2016
with:
21-
APP_ID: ${{ secrets.APP_ID }}
22-
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
23-
SECRET_NAME: APP_TOKEN
17+
app_id: ${{ secrets.APP_ID }}
18+
private_key: ${{ secrets.PRIVATE_KEY }}

β€Ž.github/workflows/needs-more-info.ymlβ€Ž

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
2121
with:
2222
APP_ID: ${{ secrets.APP_ID }}
2323
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
24-
SECRET_NAME: APP_TOKEN
2524
- uses: bubkoo/needs-more-info@v1
2625
with:
27-
# GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
28-
GITHUB_TOKEN: ${{ secrets.APP_TOKEN }}
26+
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
2927
CONFIG_FILE: .github/needs-more-info.yml

β€Ž.github/workflows/test.ymlβ€Ž

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
Β (0)