Browse Source

[MNT] Only activate flake8 action when pushing to or pulling from the main branch.

pull/3/head
Gao Enhao 3 years ago
parent
commit
fafe426f81
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      .github/workflows/lint.yaml

+ 5
- 1
.github/workflows/lint.yaml View File

@@ -1,6 +1,10 @@
name: flake8 Lint
on: [push, pull_request]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
flake8-lint:


Loading…
Cancel
Save