Skip to content

chore(deps): update actions/create-github-app-token action to v1.10.2 #135

chore(deps): update actions/create-github-app-token action to v1.10.2

chore(deps): update actions/create-github-app-token action to v1.10.2 #135

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