We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86b3c63 commit cfcddc2Copy full SHA for cfcddc2
.github/workflows/validate-pr.yml
@@ -3,6 +3,7 @@ name: Validate APIs
3
on:
4
pull_request:
5
paths:
6
+ - '**'
7
- 'specification/**'
8
- '!specification/_types/**'
9
- '!specification/_spec_utils/**'
@@ -13,9 +14,16 @@ on:
13
14
- main
15
16
jobs:
17
+ # debug:
18
+ # name: debug
19
+ # runs-on: ubuntu-latest
20
+ # steps:
21
+ # - run: |
22
+ # echo '${{ toJSON(github.event.pull_request) }}
23
+
24
validate-pr:
25
name: build
- if: github.repository_owner == 'elastic' # this action will fail if executed from a fork
26
+ if: github.event.pull_request.head.repo.owner.login == 'elastic' # this action will fail if executed from a fork
27
runs-on: ubuntu-latest
28
env:
29
STACK_VERSION: 8.9-SNAPSHOT
0 commit comments