diff --git a/.github/workflows/auto-add-issues.yaml b/.github/workflows/auto-add-issues.yaml deleted file mode 100644 index a8be31eb..00000000 --- a/.github/workflows/auto-add-issues.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: Label new issues as needs-triage and add to CodeFlare Sprint Board -on: - issues: - types: - - opened -jobs: - add_label: - name: Add needs-triage label to new issues - runs-on: ubuntu-latest - permissions: - issues: write - steps: - - uses: actions/checkout@v3 - - run: gh issue edit ${{ github.event.issue.number }} --add-label "triage/needs-triage" - env: - GH_TOKEN: ${{ github.token }} - - add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@v0.5.0 - with: - project-url: https://github.com/orgs/project-codeflare/projects/8 - github-token: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }} diff --git a/.github/workflows/use-common-workflow.yaml b/.github/workflows/use-common-workflow.yaml new file mode 100644 index 00000000..36e31810 --- /dev/null +++ b/.github/workflows/use-common-workflow.yaml @@ -0,0 +1,8 @@ +name: Use Common Workflow +on: + issues: + types: + - opened +jobs: + call-common-workflow: + uses: project-codeflare/codeflare-common/.github/workflows/common-workflow.yaml@main