Skip to content

Commit c4d315f

Browse files
authored
Revert "Update membership check implementation to avoid PAT requirement (#776)"
This reverts commit 3cebe6c.
1 parent 3cebe6c commit c4d315f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/builder.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
id: composite
1515
uses: hazelcast/hazelcast-tpm/membership@main
1616
with:
17+
organization-name: 'hazelcast'
1718
member-name: ${{ github.actor }}
18-
token: ${{ github.token }}
19+
token: ${{ secrets.GH_TOKEN }}
1920
pr-builder:
2021
runs-on: ubuntu-latest
2122
permissions:
@@ -25,8 +26,7 @@ jobs:
2526
- name: Detect untrusted community PR
2627
if: ${{ needs.check_for_membership.outputs.check-result == 'false' && github.event.pull_request.user.login != 'dependabot[bot]' }}
2728
run: |
28-
source /dev/stdin <<< "$(curl --silent https://raw.githubusercontent.com/hazelcast/github-actions-common-scripts/main/logging.functions.sh)"
29-
echoerr "Untrusted external PR. Must be reviewed and executed by Hazelcast"
29+
echo "::error::ERROR: Untrusted external PR. Must be reviewed and executed by Hazelcast" 1>&2;
3030
exit 1
3131
# Default GitHub runners have very little free disk space causing build failures
3232
# This operation can be intensive, so remove as little as possible to gain useful space

0 commit comments

Comments
 (0)