Skip to content

Lock file maintenance #1481

Lock file maintenance

Lock file maintenance #1481

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:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
with:
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
- uses: ./
with:
github-token: ${{ steps.generate_token.outputs.token }}
project-url: https://github.com/orgs/dev-hato/projects/1