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 e5d557a commit d1c92f6Copy full SHA for d1c92f6
1 file changed
.github/workflows/lint.yaml
@@ -2,9 +2,13 @@
2
3
name: Lint
4
5
-# Trigger the workflow on both push (to the main repository)
6
-# and pull requests (against the main repository, but from any repo).
7
-on: [push, pull_request]
+# Trigger the workflow on both push (to the main repository, on the main branch)
+# and pull requests (against the main repository, but from any repo, from any branch).
+on:
8
+ push:
9
+ branches:
10
+ - main
11
+ pull_request:
12
# Brand new concurrency setting! This ensures that not more than one run can be triggered for the same commit.
13
# It is useful for pull requests coming from the main repository since both triggers will match.
14
concurrency: lint-${{ github.sha }}
0 commit comments