same triggers (push, PRs) for js, mega-linter, sonar
This commit is contained in:
parent
0158bd64a6
commit
4288bf1d39
3 changed files with 6 additions and 11 deletions
3
.github/workflows/js.yml
vendored
3
.github/workflows/js.yml
vendored
|
|
@ -1,7 +1,10 @@
|
||||||
name: "JS: deps, lint, tests"
|
name: "JS: deps, lint, tests"
|
||||||
|
|
||||||
|
# Run on push in any branch and changes in PRs.
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
10
.github/workflows/mega-linter.yml
vendored
10
.github/workflows/mega-linter.yml
vendored
|
|
@ -5,17 +5,11 @@
|
||||||
---
|
---
|
||||||
name: MegaLinter
|
name: MegaLinter
|
||||||
|
|
||||||
# Trigger mega-linter at every push. Action will also be visible from
|
# Run on push in any branch and changes in PRs.
|
||||||
# Pull Requests to main
|
|
||||||
on:
|
on:
|
||||||
# Comment this line to trigger action only on pull-requests
|
|
||||||
# (not recommended if you don't pay for GH Actions)
|
|
||||||
push:
|
push:
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
types: [opened, synchronize, reopened]
|
||||||
- main
|
|
||||||
- dev
|
|
||||||
|
|
||||||
# Comment env block if you do not want to apply fixes
|
# Comment env block if you do not want to apply fixes
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
4
.github/workflows/sonar.yml
vendored
4
.github/workflows/sonar.yml
vendored
|
|
@ -1,10 +1,8 @@
|
||||||
name: Sonar
|
name: Sonar
|
||||||
|
|
||||||
|
# Run on push in any branch and changes in PRs.
|
||||||
on:
|
on:
|
||||||
# Trigger analysis when pushing in main or pull requests, and when creating a pull request.
|
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue