From 8d80553becb0984101ebdd2f64357c7228c7af31 Mon Sep 17 00:00:00 2001 From: Vaishnavi Hire Date: Wed, 4 Oct 2023 18:33:52 -0400 Subject: [PATCH] Auto Add Issues to Tracking boards (#601) --- .github/workflows/auto_add_issues.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/auto_add_issues.yaml diff --git a/.github/workflows/auto_add_issues.yaml b/.github/workflows/auto_add_issues.yaml new file mode 100644 index 00000000000..dcd3c324fe1 --- /dev/null +++ b/.github/workflows/auto_add_issues.yaml @@ -0,0 +1,21 @@ +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 \ No newline at end of file