Skip to content

Commit

Permalink
Add CAgg related issues to project
Browse files Browse the repository at this point in the history
This PR enhances the issue workflow; CAgg related issues are
automatically added to the CAgg project board.
  • Loading branch information
jnidzwetzki committed Oct 27, 2023
1 parent aa81f17 commit 0435267
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Add bugs to bugs project
name: Process issue workflows

"on":
issues:
Expand All @@ -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/[email protected]
- name: Add to bugs board
uses: actions/[email protected]
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/[email protected]
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
Expand Down

0 comments on commit 0435267

Please sign in to comment.