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-in-team * chore: committing generated dist * sample workflow * need better perms in sample workflow * chore: committing generated dist * remove input check * use teams.listMembersInOrg instead of .request * chore: committing generated dist --------- Co-authored-by: aschwenn <[email protected]>
- Loading branch information
Showing
37 changed files
with
270 additions
and
27 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,24 @@ | ||
name: Is User In Team | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- 'src/helpers/is-user-in-team.ts' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: ./ | ||
id: is-user-in-team | ||
with: | ||
helper: is-user-in-team | ||
login: ${{ github.actor }} | ||
team: github-helpers-committers | ||
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} # must have read:org permission | ||
|
||
- run: echo ${{ steps.is-user-in-team.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
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.