-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflow to run on push to master
- Loading branch information
Showing
1 changed file
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
name: Flake8 | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 1 * * *" # 3 AM CET | ||
push: | ||
pull_request: | ||
concurrency: | ||
cancel-in-progress: true | ||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | ||
jobs: | ||
flake8: | ||
uses: steinwurf/flake8-action/.github/workflows/action.yml@2.0.0 | ||
with: | ||
excluded_errors: F632 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | ||
cancel-in-progress: true | ||
name: Flake8 | ||
'on': | ||
pull_request: null | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: 0 1 * * * | ||
workflow_dispatch: null |