mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
22 lines
657 B
YAML
22 lines
657 B
YAML
name: project-actions
|
|
|
|
on:
|
|
pull_request:
|
|
types: [review_requested]
|
|
pull_request_review:
|
|
types: [submitted]
|
|
|
|
jobs:
|
|
pr_review_requested:
|
|
name: pr_review_requested
|
|
runs-on: ubuntu-latest
|
|
if: github.event_name == 'pull_request_review' && github.event.review.state == 'changes_requested'
|
|
steps:
|
|
- name: Move PR to 'Change Requested'
|
|
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
|
with:
|
|
gh_token: ${{ secrets.YNPUT_BOT_TOKEN }}
|
|
organization: ynput
|
|
project_id: 11
|
|
resource_node_id: ${{ github.event.pull_request.node_id }}
|
|
status_value: Change Requested
|