Skip to content

Commit

Permalink
Added automation for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbsd committed Apr 23, 2023
1 parent de515d9 commit c96d97f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/project_automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Project automations

on:
pull_request_target:
types:
- opened
branches:
- 'master'

# map fields with customized labels
env:
in_review: In Review

jobs:
pr_opened:
name: pr_opened
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target' && github.event.action == 'opened'
steps:
- name: Move PR to ${{ env.in_review }}
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
with:
gh_token: ${{ secrets.MY_GITHUB_TOKEN }}
# user: ghostbsd
organization: ghostbsd
project_id: 4
resource_node_id: ${{ github.event.pull_request.node_id }}
status_value: ${{ env.in_review }}

0 comments on commit c96d97f

Please sign in to comment.