We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fca7fb commit e3e9567Copy full SHA for e3e9567
1 file changed
.github/workflows/ci.yml
@@ -4,6 +4,8 @@ on:
4
branches: [develop]
5
pull_request:
6
branches: [develop, main]
7
+ pull_request_target:
8
+ branches: [develop, main]
9
workflow_dispatch:
10
inputs:
11
triggered-by:
@@ -12,7 +14,8 @@ on:
12
14
type: string
13
15
jobs:
16
build:
17
+ if: github.event_name \!= 'pull_request_target' || github.actor == 'dependabot[bot]'
18
uses: fireflyframework/.github/.github/workflows/java-ci.yml@main
19
with:
20
java-version: '25'
-
21
+ checkout-ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}
0 commit comments