Skip to content

Commit

Permalink
Merge pull request #56 from Headpat-Community/test/try-workflow
Browse files Browse the repository at this point in the history
test workflow
  • Loading branch information
docimin authored Dec 22, 2024
2 parents d2e1681 + f90cae6 commit 07f8f35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/comment-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
AUTHOR="${{ github.event.comment.user.login }}"
REPO="${{ github.repository }}"
ORG=$(echo $REPO | cut -d'/' -f1)
IS_MEMBER=$(curl -s -H "Authorization: token ${{ secrets.GH_TOKEN }}" \
"https://api.github.com/orgs/$ORG/members/$AUTHOR" | jq -r '.message != "Not Found"')
RESPONSE=$(curl -s -H "Authorization: token ${{ secrets.GH_TOKEN }}" \
"https://api.github.com/orgs/$ORG/members/$AUTHOR")
IS_MEMBER=$(echo $RESPONSE | jq -r '.message != "Not Found"')
if [[ "$IS_MEMBER" != "true" ]]; then
echo "Comment author is not a member of the repository"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"applinks:headpat.place",
"applinks:api.headpat.place"
],
"buildNumber": "126",
"buildNumber": "127",
"appleTeamId": "S243K37R5M"
},
"android": {
Expand Down Expand Up @@ -75,7 +75,7 @@
}
},
"package": "com.headpat.app",
"versionCode": 126
"versionCode": 127
},
"extra": {
"router": {
Expand Down

0 comments on commit 07f8f35

Please sign in to comment.