Skip to content

Commit 5cad501

Browse files
authored
Allow PR builder on dependabot PRs
hazelcast#1360 is blocked by lack of PR builder execution. [Fixed in a _similar_ way to `hazelcast-code-samples`](https://github.com/hazelcast/hazelcast-code-samples/blob/94133f7b918259f0e89cc9ddc8bc16050ce77bc0/.github/workflows/builder.yaml#L24-L28).
1 parent 9cff5ef commit 5cad501

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ jobs:
5050
member-name: ${{ github.actor }}
5151
token: ${{ secrets.GH_TOKEN }}
5252

53-
# ensure we are an Hazelcast organization member OR manually running
53+
# ensure PR is trusted
5454
ensure-membership:
5555
name: Ensure Membership
5656
runs-on: ubuntu-latest
5757
needs: test-membership
5858
strategy:
5959
fail-fast: false
6060

61-
if: needs.test-membership.outputs.is-hazelcast == 'true' || github.event_name == 'workflow_dispatch'
61+
if: ${{ needs.test-membership.outputs.is-hazelcast == 'true' || github.event_name == 'workflow_dispatch' || github.actor == 'dependabot[bot]' }}
6262
steps:
6363
- name: Report
6464
shell: bash
65-
run: echo "User ${{ github.actor }} is a member of the Hazelcast organization"
65+
run: echo "User ${{ github.actor }} is trusted for PR execution"
6666

6767

6868
# get

0 commit comments

Comments
 (0)