Skip to content

Commit

Permalink
Re-adjust Auto Add Issues to Tracking boards
Browse files Browse the repository at this point in the history
Signed-off-by: Harshad Reddy Nalla <hnalla@redhat.com>
  • Loading branch information
harshad16 committed Oct 5, 2023
1 parent a68b5e3 commit b2b8186
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/auto-add-issue-to-project.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
name: Add Issues to ODH Feature Tracking Project
name: Auto Add Issues to Tracking boards
on:
issues:
types:
- opened
jobs:
add-to-project:
name: Add issue 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/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/opendatahub-io/projects/40
github-token: ${{ secrets.GH_TOKEN }}
github-token: ${{ steps.app-token.outputs.token }}
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/opendatahub-io/projects/45
github-token: ${{ steps.app-token.outputs.token }}

0 comments on commit b2b8186

Please sign in to comment.