mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-18 11:45:11 +08:00
Update procedural.yml
Fix the 'Waiting for Engineering' job. Issues that contain the label 'need-more-info' that receive an issue_comment are automatically moved to the 'Waiting for Engineering' column on the bug board and the 'need-more-info' is removed.
This commit is contained in:
parent
97a603fe5c
commit
af8e3c6b12
21
.github/workflows/procedural.yaml
vendored
21
.github/workflows/procedural.yaml
vendored
@ -2,7 +2,7 @@ name: Add bugs to bugs project
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types: [ opened, labeled ]
|
types: [opened, labeled]
|
||||||
issue_comment:
|
issue_comment:
|
||||||
types: [created, edited]
|
types: [created, edited]
|
||||||
|
|
||||||
@ -29,6 +29,19 @@ jobs:
|
|||||||
column: Waiting for Author
|
column: Waiting for Author
|
||||||
repo-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
repo-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
||||||
|
|
||||||
waiting-for-engineer:
|
waiting-for-engineering:
|
||||||
name: Waiting for Engineer
|
name: Waiting for Engineering
|
||||||
if: github.event_name == 'issue_comment' && github.event.action == 'labeled' && github.event.label.name == 'need-more-info'
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'issue_comment' && !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'need-more-info')
|
||||||
|
steps:
|
||||||
|
- name: Remove need-more-info label
|
||||||
|
uses: andymckay/labeler@3a4296e9dcdf9576b0456050db78cfd34853f260
|
||||||
|
with:
|
||||||
|
remove-labels: 'need-more-info'
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Move to waiting for engineering column
|
||||||
|
uses: alex-page/github-project-automation-plus@v0.8.1
|
||||||
|
with:
|
||||||
|
project: Database - TimescaleDB Bugs Board
|
||||||
|
column: Waiting for Engineering
|
||||||
|
repo-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user