From 04352675af5b4f478b1111f2daae3fea156bb20f Mon Sep 17 00:00:00 2001 From: Jan Nidzwetzki Date: Fri, 27 Oct 2023 09:26:30 +0200 Subject: [PATCH] Add CAgg related issues to project This PR enhances the issue workflow; CAgg related issues are automatically added to the CAgg project board. --- .../{procedural.yaml => issue-handling.yaml} | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) rename .github/workflows/{procedural.yaml => issue-handling.yaml} (93%) diff --git a/.github/workflows/procedural.yaml b/.github/workflows/issue-handling.yaml similarity index 93% rename from .github/workflows/procedural.yaml rename to .github/workflows/issue-handling.yaml index cc1bf629465..55a1518d5ce 100644 --- a/.github/workflows/procedural.yaml +++ b/.github/workflows/issue-handling.yaml @@ -1,4 +1,4 @@ -name: Add bugs to bugs project +name: Process issue workflows "on": issues: @@ -8,20 +8,27 @@ name: Add bugs to bugs project jobs: add-to-project: - name: Add issue to project + name: Add issue to projects # issue_comment is triggered when commenting on both issues and # pull requests. To avoid adding pull requests to the bug board, # filter out pull requests if: ${{ !github.event.issue.pull_request }} runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v0.4.0 + - name: Add to bugs board + uses: actions/add-to-project@v0.5.0 with: project-url: https://github.com/orgs/timescale/projects/55 github-token: ${{ secrets.ORG_AUTOMATION_TOKEN }} labeled: bug, needs-triage, flaky-test label-operator: OR - + - name: Add to CAggs board + uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/timescale/projects/128 + github-token: ${{ secrets.ORG_AUTOMATION_TOKEN }} + labeled: continuous_aggregate + waiting-for-author: name: Waiting for Author runs-on: ubuntu-latest