-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create GH workflow running on PR opened (#11)
- Loading branch information
1 parent
560139d
commit 8f37605
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |