Skip to content

Commit

Permalink
CI Add to Task List: GitHub Appのトークンの渡し方修正 (#1493)
Browse files Browse the repository at this point in the history
`dev-hato/actions-add-to-projects` へのGitHub Appのトークンの渡し方を修正します。
  • Loading branch information
massongit authored Feb 10, 2024
1 parent 8d8fe7a commit 128afc4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/add-to-task-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == github.event.pull_request.head.repo.full_name
steps:
- name: Generate a token
id: generate_token
uses: actions/[email protected]
with:
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
- uses: dev-hato/[email protected]
with:
github_app_id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
github_app_private_key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
github-token: ${{steps.generate_token.outputs.token}}
project-url: https://github.com/orgs/dev-hato/projects/1

0 comments on commit 128afc4

Please sign in to comment.