Skip to content

Commit 84754d8

Browse files
committed
only run pr update on push, lint on pr/push
Signed-off-by: Jack Luar <[email protected]>
1 parent e26f811 commit 84754d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/github-actions-yaml-test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: ORFS variables.yaml tester and linter
22

33
on:
44
push:
5+
pull_request:
56

67
jobs:
78
docs-test-job:
89
name: 'Tests for variables.yaml'
10+
if: "github.event_name == 'pull_request' || github.event_name == 'push'"
911
runs-on: ubuntu-latest
1012
container:
1113
image: openroad/ubuntu-cpp20
@@ -23,6 +25,7 @@ jobs:
2325
2426
docs-pr-update:
2527
name: 'Create PR to update ORFS FlowVariables.md and variables.yaml'
28+
if: "github.event_name == 'push'"
2629
needs:
2730
- docs-test-job
2831
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)