refactor: update workflow files to streamline paths-ignore and enhance cron job comments
This commit is contained in:
@@ -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,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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -7,9 +7,7 @@ on:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
- ".github/workflows/**.yml"
|
||||
- "docs/**"
|
||||
- ".github/workflows/**"
|
||||
- "**/*.md"
|
||||
- "**/*.yml"
|
||||
|
||||
|
||||
@@ -7,9 +7,7 @@ on:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
- ".github/workflows/**.yml"
|
||||
- "docs/**"
|
||||
- ".github/workflows/**"
|
||||
- "**/*.md"
|
||||
- "**/*.yml"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user