mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Trigger linter on pull requests and pushes to master
This commit is contained in:
14
.github/workflows/linter.yml
vendored
14
.github/workflows/linter.yml
vendored
@@ -10,13 +10,17 @@ name: Lint Code Base
|
||||
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
|
||||
#
|
||||
|
||||
#############################
|
||||
# Start the job on all push #
|
||||
#############################
|
||||
################################################
|
||||
# Trigger the workflow on push or pull request #
|
||||
# but only for the master branch #
|
||||
################################################
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- 'master'
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
###############
|
||||
# Set the Job #
|
||||
|
||||
Reference in New Issue
Block a user