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

Added workspace path for cwd during action #6

Merged
merged 1 commit into from
May 15, 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
7 changes: 5 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: membership-check
name: kap-gh-team
description: "This action evaulates whether or not a the GitHub actor is a member of a specified team."
branding:
icon: 'sunrise'
Expand All @@ -14,6 +14,9 @@ inputs:
team:
description: 'The slug (i.e., the URL-friendly name) of the team to check membership for.'
required: true
user:
description: 'The user to check against.'
required: true

runs:
using: 'docker'
Expand All @@ -23,4 +26,4 @@ runs:
- '-c'
- |
pip install PyGithub
python /github_team_check.py "${{inputs.access_token}}" "${{inputs.organization}}" "${{inputs.team}}" "${{inputs.user}}"
python /github/workspace/github_team_check.py "${{inputs.access_token}}" "${{inputs.organization}}" "${{inputs.team}}" "${{inputs.user}}"