Skip to content

Commit e52f8a2

Browse files
Enhancement: Optimize Renovate workflow triggers and remove redundant test job (from chore/clean_up_release_action)
1 parent dfb9cb3 commit e52f8a2

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/renovate.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@
44

55
name: Renovate
66

7-
on:
7+
on:
88
# Allows you to run this workflow manually from the Actions tab
99
workflow_dispatch:
1010
# Runs the workflow on a schedule (e.g., every day at 2 AM)
1111
schedule:
1212
- cron: '0 2 * * *'
13+
push:
14+
paths:
15+
- .github/renovate.json
16+
- .github/workflows/renovate.yml
1317

1418
jobs:
1519
renovate:
@@ -31,9 +35,4 @@ jobs:
3135
token: ${{ secrets.GITHUB_TOKEN }} # required to create PRs/issues
3236
configurationFile: .github/renovate.json
3337
env:
34-
RENOVATE_REPOSITORIES: ${{ github.repository }} # scan current repo
35-
36-
# Optional: run your build/test workflow after Renovate finishes
37-
build_and_test:
38-
needs: renovate
39-
uses: ./.github/workflows/build-and-test.yml
38+
RENOVATE_REPOSITORIES: ${{ github.repository }} # scan current repo

0 commit comments

Comments
 (0)