Skip to content

Commit

Permalink
Create GH workflow running on PR opened (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom authored Nov 17, 2023
1 parent 560139d commit 8f37605
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/on_pr_opened.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Add PR to Smackore project board, if the author is from outside Membrane Team
on:
pull_request_target:
types:
- opened
jobs:
maybe_add_to_project_board:
runs-on: ubuntu-latest
steps:
- name: Checkout membrane_core
uses: actions/checkout@v3
with:
repository: membraneframework/membrane_core
- name: Puts PR in "New PRs by community" column in the Smackore project, if the author is from outside Membrane Team
uses: ./.github/actions/add_pr_to_smackore_board
with:
GITHUB_TOKEN: ${{ secrets.MEMBRANEFRAMEWORKADMIN_TOKEN }}
AUTHOR_LOGIN: ${{ github.event.pull_request.user.login }}
PR_URL: ${{ github.event.pull_request.html_url }}

0 comments on commit 8f37605

Please sign in to comment.