Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #16 from heyselbi/git-action
Browse files Browse the repository at this point in the history
automating adding issues into overall odh boards
  • Loading branch information
Xaenalt authored Oct 4, 2023
2 parents 7979465 + 4f44321 commit 29ace72
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/auto-add-issues-to-project.yaml
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/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/opendatahub-io/projects/40
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 }}
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/opendatahub-io/projects/42
github-token: ${{ steps.app-token.outputs.token }}

0 comments on commit 29ace72

Please sign in to comment.