Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Sep 18, 2023
1 parent b994204 commit 78d2a83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/label-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set +e
gh api orgs/Kong/members --paginate -q '.[].login'
gh api orgs/Kong/members --paginate -q '.[].login' | grep -q '^${{ github.event.pull_request.user.login }}$'
echo "exitcode=$?" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
- name: Add Label if Author is not a member
if: steps.check_membership.outputs.exitcode == '1'
uses: christianvuerings/add-labels@v1
Expand Down

0 comments on commit 78d2a83

Please sign in to comment.