Skip to content

hato-botのCIを反映するよ! #1906

hato-botのCIを反映するよ!

hato-botのCIを反映するよ! #1906

name: Add to Task List
on:
pull_request:
types:
- opened
- reopened
issues:
types:
- opened
jobs:
add-to-task-list:
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@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
with:
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
- uses: dev-hato/actions-add-to-projects@17aad01fd46cba53af2c7258b6ca2a89bb46dfbb # v0.0.87
with:
github-token: ${{steps.generate_token.outputs.token}}
project-url: https://github.com/orgs/dev-hato/projects/1