same triggers (push, PRs) for js, mega-linter, sonar

This commit is contained in:
Ralf Vogler 2025-05-25 15:14:14 +02:00
parent 0158bd64a6
commit 4288bf1d39
3 changed files with 6 additions and 11 deletions

View file

@ -1,7 +1,10 @@
name: "JS: deps, lint, tests"
# Run on push in any branch and changes in PRs.
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:

View file

@ -5,17 +5,11 @@
---
name: MegaLinter
# Trigger mega-linter at every push. Action will also be visible from
# Pull Requests to main
# Run on push in any branch and changes in PRs.
on:
# Comment this line to trigger action only on pull-requests
# (not recommended if you don't pay for GH Actions)
push:
pull_request:
branches:
- main
- dev
types: [opened, synchronize, reopened]
# Comment env block if you do not want to apply fixes
env:

View file

@ -1,10 +1,8 @@
name: Sonar
# Run on push in any branch and changes in PRs.
on:
# Trigger analysis when pushing in main or pull requests, and when creating a pull request.
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]