We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 002ac3f commit 2019a8aCopy full SHA for 2019a8a
.github/workflows/validate-pr.yml
@@ -15,10 +15,13 @@ on:
15
jobs:
16
validate-pr:
17
name: build
18
- if: github.repository_owner == 'elastic' # this action will fail if executed from a fork
19
runs-on: ubuntu-latest
20
21
steps:
+ - name: Check pull request was opened from branch
22
+ if: github.event.pull_request.head.repo.full_name != 'elastic/elasticsearch-specification'
23
+ run: echo "Validation is not supported from forks"; exit 1
24
+
25
- uses: actions/checkout@v4
26
with:
27
path: ./elasticsearch-specification
0 commit comments