Skip to content

Commit 509f03c

Browse files
authored
Add cron schedule for weekly workflow
Add a scheduled job to run every Monday at 12 UTC
1 parent 975d964 commit 509f03c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/quality.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches:
77
- main
8+
schedule:
9+
# Tous les lundis à 12h UTC
10+
- cron: '0 12 * * 1'
811
jobs:
912
test-build:
1013
name: build & test & analyze
@@ -36,4 +39,4 @@ jobs:
3639
env:
3740
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3841
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
39-
run: mvn -B clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage
42+
run: mvn -B clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage

0 commit comments

Comments
 (0)