Skip to content

chore(deps): update actions/setup-go action to v5.0.1 #99

chore(deps): update actions/setup-go action to v5.0.1

chore(deps): update actions/setup-go action to v5.0.1 #99

name: Add to Task List
on:
pull_request:
types:
- opened
- reopened
issues:
types:
- opened
permissions: read-all
jobs:
add-to-task-list:
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/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1.10.0
with:
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
- uses: dev-hato/actions-add-to-projects@71663a0c8682301c39a8d6b5f868e4830c46840c # v0.0.68
with:
github-token: ${{steps.generate_token.outputs.token}}
project-url: https://github.com/orgs/dev-hato/projects/1