this method and the check_call
above seem both quite generic - maybe we should consider to put them on some common place... I don't insist to do this in this PR, but maybe eventually...
#132
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: Auto Add Issues to Tracking boards | |
on: # yamllint disable-line rule:truthy | |
issues: | |
types: | |
- opened | |
jobs: | |
add-to-project: | |
name: Add issue to projects | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate github-app token | |
id: app-token | |
uses: getsentry/action-github-app-token@v3 | |
with: | |
app_id: ${{ secrets.DEVOPS_APP_ID }} | |
private_key: ${{ secrets.DEVOPS_APP_PRIVATE_KEY }} | |
- uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/opendatahub-io/projects/40 | |
github-token: ${{ steps.app-token.outputs.token }} | |
- uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/opendatahub-io/projects/45 | |
github-token: ${{ steps.app-token.outputs.token }} |