We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pull_request_target
1 parent 9ca9794 commit f18da51Copy full SHA for f18da51
.github/workflows/python-build-pages.yml
@@ -8,7 +8,7 @@ on:
8
- "metadata-ingestion/**"
9
- "metadata-ingestion-modules/**"
10
- "metadata-models/**"
11
- pull_request:
+ pull_request_target:
12
branches:
13
- "**"
14
paths:
@@ -38,7 +38,11 @@ jobs:
38
distribution: "zulu"
39
java-version: 17
40
- uses: gradle/actions/setup-gradle@v4
41
- - uses: acryldata/sane-checkout-action@v3
+ - uses: actions/checkout@v4
42
+ # Note: not using acryldata/sane-checkout-action because this is a
43
+ # pull_request_target event, and hence requires `ref`.
44
+ with:
45
+ ref: ${{ github.event.pull_request.base.sha }}
46
- uses: actions/setup-python@v5
47
with:
48
python-version: "3.10"
0 commit comments