Skip to content

Commit

Permalink
Merge pull request #6 from kapost/additional-fixes
Browse files Browse the repository at this point in the history
Added workspace path for cwd during action
  • Loading branch information
thatsnotamuffin committed May 15, 2023
2 parents ba86b37 + 5c2032c commit 27d655c
Showing 1 changed file with 5 additions and 2 deletions.
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}}"

0 comments on commit 27d655c

Please sign in to comment.