forked from opendatahub-io/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request opendatahub-io#190 from harshad16/add-wf-tracking
Auto Add Issues to Tracking boards
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Auto Add Issues to Tracking boards | ||
on: | ||
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@v2 | ||
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/39 | ||
github-token: ${{ steps.app-token.outputs.token }} | ||
- 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 }} |