Skip to content

Commit

Permalink
Merge pull request #471 from pehala/in_review_action
Browse files Browse the repository at this point in the history
Add action to move PR to "In Review" when opened
  • Loading branch information
averevki authored Jul 24, 2024
2 parents 2b7e03c + 9b22333 commit 99e645b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Project automations
on:
pull_request_target:
types:
- opened

env:
review: "In Review"

jobs:
pr_to_add_review:
name: pr_opened
runs-on: ubuntu-latest
steps:
- name: Move PR to ${{ env.review }}
uses: leonsteinhaeuser/[email protected]
with:
gh_token: ${{ secrets.ADD_ISSUES_TOKEN }}
organization: kuadrant
project_id: 16
resource_node_id: ${{ github.event.pull_request.node_id }}
status_value: ${{ env.review }} # Target status
move_related_issues: true

0 comments on commit 99e645b

Please sign in to comment.