refactor: update workflow files to streamline paths-ignore and enhance cron job comments

This commit is contained in:
Jean Gatto
2025-03-16 09:44:34 -03:00
parent e1a9d47177
commit 1457c02ba8
5 changed files with 9 additions and 16 deletions
+3 -4
View File
@@ -4,15 +4,14 @@ name: "CodeQL"
on:
push:
pull_request:
types: [opened, synchronize, reopened]
branches: [main]
paths-ignore:
- "README.md"
- ".github/workflows/**.yml"
- "docs/**"
- ".github/workflows/**"
- "**/*.md"
- "**/*.yml"
schedule:
- cron: "37 5 * * 3"
- cron: "37 5 * * 3" # Runs at 5:37 AM every Wednesday
jobs:
analyze:
+1 -1
View File
@@ -1,7 +1,7 @@
name: Delete old workflow runs
on:
schedule:
- cron: '0 22 * * 1-5'
- cron: "0 22 * * 1-5" # Schedule to run at 22:00 (10 PM) from Monday to Friday
jobs:
del_runs:
+2 -4
View File
@@ -6,13 +6,11 @@ on:
pull_request:
branches: [main]
paths-ignore:
- "README.md"
- ".github/workflows/**.yml"
- "docs/**"
- ".github/workflows/**"
- "**/*.md"
- "**/*.yml"
schedule:
- cron: "34 13 * * 5"
- cron: "34 13 * * 5" # Runs every Friday at 13:34 UTC
jobs:
lint:
+1 -3
View File
@@ -7,9 +7,7 @@ on:
types: [opened, synchronize, reopened]
branches: [main]
paths-ignore:
- "README.md"
- ".github/workflows/**.yml"
- "docs/**"
- ".github/workflows/**"
- "**/*.md"
- "**/*.yml"
+1 -3
View File
@@ -7,9 +7,7 @@ on:
types: [opened, synchronize, reopened]
branches: [main]
paths-ignore:
- "README.md"
- ".github/workflows/**.yml"
- "docs/**"
- ".github/workflows/**"
- "**/*.md"
- "**/*.yml"