We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ec2f74 + faa8646 commit 2d0d418Copy full SHA for 2d0d418
.github/workflows/build-test-measure.yml
@@ -54,7 +54,9 @@ jobs:
54
lint-json:
55
name: 'Lint: .json files'
56
needs: pre-run
57
- if: needs.pre-run.outputs.changed-json == 'true'
+ # only run for changed .json files AND when it is a pull_request
58
+ # because 'github.base_ref' will not be available on push
59
+ if: needs.pre-run.outputs.changed-json == 'true' && github.base_ref == null
60
runs-on: ubuntu-latest
61
steps:
62
- name: Checkout
0 commit comments