generated from ExpediaGroup/new-project
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(is-user-core-member): add helper to check core membership for PRs (
#662) Co-authored-by: Dan Adajian <[email protected]>
- Loading branch information
1 parent
e465e40
commit 6731964
Showing
8 changed files
with
379 additions
and
1 deletion.
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,24 @@ | ||
name: Is User Core Member | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
paths: | ||
- 'src/helpers/is-user-core-member.ts' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: ./ | ||
id: is-user-core-member | ||
with: | ||
helper: is-user-core-member | ||
pull_number: ${{ github.event.pull_request.number }} | ||
login: ${{ github.actor }} # Optional, defaults to the GitHub actor | ||
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
|
||
- run: echo ${{ steps.is-user-core-member.outputs.output }} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.