Skip to content

Commit ebb7702

Browse files
authored
Fix bug in GH action on PR opened (#692)
1 parent 168f57e commit ebb7702

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/add_pr_to_smackore_board

1 file changed

+1
-1
lines changed

.github/actions/add_pr_to_smackore_board/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
export STATUS_FIELD_ID=PVTSSF_lADOAYE_z84AWEIBzgOGd1k
2525
export TARGET_COLUMN_ID=e6b1ee10
2626
27-
export AUTHOR_ORIGIN=$(curl --request GET --url "https://api.github.com/orgs/membraneframework/members" --header "Authorization: Bearer $GH_TOKEN" -s | python scripts/python/get_author_origin.py $AUTHOR_LOGIN)
27+
export AUTHOR_ORIGIN=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /orgs/membraneframework/teams/membraneteam/members | python scripts/python/get_author_origin.py $AUTHOR_LOGIN)
2828
2929
if [ "$AUTHOR_ORIGIN" == "COMMUNITY" ]
3030
then

0 commit comments

Comments
 (0)