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: on:
push: push:
pull_request: pull_request:
types: [opened, synchronize, reopened]
branches: [main] branches: [main]
paths-ignore: paths-ignore:
- "README.md" - ".github/workflows/**"
- ".github/workflows/**.yml"
- "docs/**"
- "**/*.md" - "**/*.md"
- "**/*.yml" - "**/*.yml"
schedule: schedule:
- cron: "37 5 * * 3" - cron: "37 5 * * 3" # Runs at 5:37 AM every Wednesday
jobs: jobs:
analyze: analyze:
+2 -2
View File
@@ -1,8 +1,8 @@
name: Delete old workflow runs name: Delete old workflow runs
on: on:
schedule: schedule:
- cron: '0 22 * * 1-5' - cron: "0 22 * * 1-5" # Schedule to run at 22:00 (10 PM) from Monday to Friday
jobs: jobs:
del_runs: del_runs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
+2 -4
View File
@@ -6,13 +6,11 @@ on:
pull_request: pull_request:
branches: [main] branches: [main]
paths-ignore: paths-ignore:
- "README.md" - ".github/workflows/**"
- ".github/workflows/**.yml"
- "docs/**"
- "**/*.md" - "**/*.md"
- "**/*.yml" - "**/*.yml"
schedule: schedule:
- cron: "34 13 * * 5" - cron: "34 13 * * 5" # Runs every Friday at 13:34 UTC
jobs: jobs:
lint: lint:
+1 -3
View File
@@ -7,9 +7,7 @@ on:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
branches: [main] branches: [main]
paths-ignore: paths-ignore:
- "README.md" - ".github/workflows/**"
- ".github/workflows/**.yml"
- "docs/**"
- "**/*.md" - "**/*.md"
- "**/*.yml" - "**/*.yml"
+1 -3
View File
@@ -7,9 +7,7 @@ on:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
branches: [main] branches: [main]
paths-ignore: paths-ignore:
- "README.md" - ".github/workflows/**"
- ".github/workflows/**.yml"
- "docs/**"
- "**/*.md" - "**/*.md"
- "**/*.yml" - "**/*.yml"