Skip to content

Commit

Permalink
only run pr update on push, lint on pr/push
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Luar <[email protected]>
  • Loading branch information
luarss committed Nov 9, 2024
1 parent e26f811 commit 84754d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/github-actions-yaml-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ name: ORFS variables.yaml tester and linter

on:
push:
pull_request:

jobs:
docs-test-job:
name: 'Tests for variables.yaml'
if: "github.event_name == 'pull_request' || github.event_name == 'push'"
runs-on: ubuntu-latest
container:
image: openroad/ubuntu-cpp20
Expand All @@ -23,6 +25,7 @@ jobs:
docs-pr-update:
name: 'Create PR to update ORFS FlowVariables.md and variables.yaml'
if: "github.event_name == 'push'"
needs:
- docs-test-job
runs-on: ubuntu-latest
Expand Down

0 comments on commit 84754d8

Please sign in to comment.