We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea4168d commit be01150Copy full SHA for be01150
1 file changed
.github/workflows/lint.yaml
@@ -12,11 +12,18 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
name: Lint
15
-
16
-on: [push, pull_request]
17
+on:
+ push:
+ branches:
18
+ - master
19
+ pull_request:
20
21
22
jobs:
23
lint:
24
+ concurrency:
25
+ group: ${{ github.head_ref || github.ref }}
26
+ cancel-in-progress: true
27
runs-on: ubuntu-20.04
28
steps:
29
- uses: actions/checkout@v2.4.0
@@ -26,4 +33,4 @@ jobs:
33
VALIDATE_JSCPD: false
34
VALIDATE_PYTHON_BLACK: false
35
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments