parent
c2fa78859b
commit
934ee18044
20
.github/workflows/project-assign-issue.yml
vendored
20
.github/workflows/project-assign-issue.yml
vendored
@ -4,17 +4,21 @@ on:
|
|||||||
issues:
|
issues:
|
||||||
types: [assigned]
|
types: [assigned]
|
||||||
|
|
||||||
|
env:
|
||||||
|
todo: Todo
|
||||||
|
done: Done!
|
||||||
|
in_progress: Dev In Progress
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-project-column:
|
update-project-column:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'issues' && github.event.action == 'assigned'
|
||||||
steps:
|
steps:
|
||||||
- name: Update status
|
- name: Move issue to ${{ env.todo }}
|
||||||
id: update_status
|
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
||||||
uses: github/update-project-action@v2
|
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GHPROJECT_TOKEN }}
|
gh_token: ${{ secrets.GHPROJECT_TOKEN }}
|
||||||
organization: webrecorder
|
organization: webrecorder
|
||||||
project_number: 9
|
project_id: 9
|
||||||
content_id: ${{ github.event.issue.node_id }}
|
resource_node_id: ${{ github.event.issue.node_id }}
|
||||||
field: Status
|
status_value: ${{ env.todo }} # Target status
|
||||||
value: Todo
|
|
||||||
|
Loading…
Reference in New Issue
Block a user