Add to Project #256
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add to Project | |
on: | |
issues: | |
types: | |
- opened | |
- transferred | |
permissions: | |
contents: read | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
contents: read | |
steps: | |
- name: Generate GitHub token | |
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2 | |
id: generate-github-token | |
with: | |
app_id: ${{ secrets.GH_APP_ID_DISTRO_CI }} | |
private_key: ${{ secrets.GH_APP_PRIVATE_KEY_DISTRO_CI }} | |
- name: Add to project | |
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2 | |
with: | |
project-url: https://github.com/orgs/camunda/projects/33 | |
github-token: '${{ steps.generate-github-token.outputs.token }}' |