Skip to content

Commit

Permalink
Merge pull request #3664 from dev-hato/massongit-patch-1
Browse files Browse the repository at this point in the history
CI Add to Task List: GitHub Appのトークンの渡し方修正
  • Loading branch information
massongit authored Feb 10, 2024
2 parents d730926 + 1f5162f commit 37f3da7
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 @@ -12,8 +12,13 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'issues' || github.repository == github.event.pull_request.head.repo.full_name
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1.8.0
with:
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
- uses: dev-hato/actions-add-to-projects@v0.0.60
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 37f3da7

Please sign in to comment.