Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create GH workflow running on PR opened #17

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}