Update issue automation labels and statuses
This commit is contained in:
parent
e12ccbf6e4
commit
670702b683
|
|
@ -12,8 +12,8 @@ on:
|
||||||
|
|
||||||
# map fields with customized labels
|
# map fields with customized labels
|
||||||
env:
|
env:
|
||||||
new: New
|
to_triage: To Triage
|
||||||
todo: Todo
|
ready: Ready
|
||||||
done: Done
|
done: Done
|
||||||
in_progress: In Progress
|
in_progress: In Progress
|
||||||
in_review: In Review
|
in_review: In Review
|
||||||
|
|
@ -30,14 +30,14 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'issues' && github.event.action == 'opened'
|
if: github.event_name == 'issues' && github.event.action == 'opened'
|
||||||
steps:
|
steps:
|
||||||
- name: Move issue to ${{ env.new }}
|
- name: Move issue to ${{ env.to_triage }}
|
||||||
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
||||||
with:
|
with:
|
||||||
gh_token: ${{ secrets.MY_GITHUB_TOKEN }}
|
gh_token: ${{ secrets.MY_GITHUB_TOKEN }}
|
||||||
organization: ghostbsd
|
organization: ghostbsd
|
||||||
project_id: 4
|
project_id: 4
|
||||||
resource_node_id: ${{ github.event.issue.node_id }}
|
resource_node_id: ${{ github.event.issue.node_id }}
|
||||||
status_value: ${{ env.new }}
|
status_value: ${{ env.to_triage }}
|
||||||
env:
|
env:
|
||||||
DEBUG: true
|
DEBUG: true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue