From 5c2032cb75b8029dcdc90b19d2de9ef0a2b360ef Mon Sep 17 00:00:00 2001 From: thatsnotamuffin Date: Mon, 15 May 2023 12:16:19 -0500 Subject: [PATCH] Added workspace path for cwd during action --- action.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 22a2825..6202e71 100644 --- a/action.yml +++ b/action.yml @@ -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' @@ -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' @@ -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}}"