on: issues: types: - opened jobs: add-to-project: # https://github.com/janus-idp/.github/blob/main/.github/workflows/add-to-project.yaml uses: janus-idp/.github/.github/workflows/add-to-project.yaml@main with: project_id: 2 secrets: inherit add-jira-label: runs-on: ubuntu-latest permissions: issues: write steps: - run: | gh issue --repo ${{github.repository}} edit ${{github.event.issue.number}} --add-label "jira" env: GH_TOKEN: ${{ github.token }}