File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ permissions:
45
45
46
46
jobs :
47
47
build :
48
+ if : github.event.repository.fork == false # Skip running the job on the fork itself (It still runs on PRs on the upstream from forks)
48
49
concurrency :
49
50
group : ${{ github.workflow }}-${{ github.event.pull_request.head.ref || github.ref }}
50
51
cancel-in-progress : ${{ startsWith(github.event_name, 'pull_request') }}
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ permissions:
12
12
13
13
jobs :
14
14
destroy :
15
+ if : github.event.repository.fork == false # Skip running the job on the fork itself (It still runs on PRs on the upstream from forks)
15
16
runs-on : ubuntu-latest
16
17
steps :
17
18
- name : Delete GitHub environment
53
54
aws s3 rm "s3://elastic-docs-v3-website-preview/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}" --recursive
54
55
55
56
- name : ' Update Reference Index'
56
- uses : elastic/docs-builder/actions/update-reference-index@main
57
+ uses : elastic/docs-builder/actions/update-reference-index@main
You can’t perform that action at this time.
0 commit comments