diff --git a/.github/workflows/builder.yaml b/.github/workflows/builder.yaml index 9518fefec..b5829a12f 100644 --- a/.github/workflows/builder.yaml +++ b/.github/workflows/builder.yaml @@ -14,9 +14,8 @@ jobs: id: composite uses: hazelcast/hazelcast-tpm/membership@main with: - organization-name: 'hazelcast' member-name: ${{ github.actor }} - token: ${{ secrets.GH_TOKEN }} + token: ${{ github.token }} pr-builder: runs-on: ubuntu-latest permissions: @@ -26,7 +25,8 @@ jobs: - name: Detect untrusted community PR if: ${{ needs.check_for_membership.outputs.check-result == 'false' && github.event.pull_request.user.login != 'dependabot[bot]' }} run: | - echo "::error::ERROR: Untrusted external PR. Must be reviewed and executed by Hazelcast" 1>&2; + source /dev/stdin <<< "$(curl --silent https://raw.githubusercontent.com/hazelcast/github-actions-common-scripts/main/logging.functions.sh)" + echoerr "Untrusted external PR. Must be reviewed and executed by Hazelcast" exit 1 # Default GitHub runners have very little free disk space causing build failures # This operation can be intensive, so remove as little as possible to gain useful space