Skip to content

Commit fead836

Browse files
authored
CI Add to Task List: GitHub Appのトークンの渡し方修正 (#930)
`dev-hato/actions-add-to-projects` へのGitHub Appのトークンの渡し方を修正します。
1 parent d603ea3 commit fead836

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/add-to-task-list.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: github.repository == github.event.pull_request.head.repo.full_name
1515
steps:
16+
- name: Generate a token
17+
id: generate_token
18+
uses: actions/[email protected]
19+
with:
20+
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
21+
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
1622
- uses: dev-hato/[email protected]
1723
with:
18-
github_app_id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
19-
github_app_private_key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
24+
github-token: ${{steps.generate_token.outputs.token}}
2025
project-url: https://github.com/orgs/dev-hato/projects/1

0 commit comments

Comments
 (0)