Skip to content

Pythonアップデート #2856

Pythonアップデート

Pythonアップデート #2856

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@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
with:
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
- uses: dev-hato/actions-add-to-projects@25839286e89098914741947734e9a9bf992a1ac4 # v0.0.90
with:
github-token: ${{steps.generate_token.outputs.token}}
project-url: https://github.com/orgs/dev-hato/projects/1