Auto-merge K8s charm PRs #8881
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-merge K8s charm PRs | |
| on: | |
| schedule: | |
| - cron: "0 * * * *" # every hour | |
| pull_request: | |
| paths: | |
| - .github/workflows/auto-merge-prs.yaml | |
| jobs: | |
| auto-merge-successful-prs: | |
| name: Auto-merge K8s charm PRs | |
| uses: canonical/k8s-workflows/.github/workflows/auto-merge-successful-prs.yaml@main | |
| secrets: inherit | |
| with: | |
| approve-msg: "Approved for merge by 'auto-merge-prs' action" | |
| dry-run: ${{ github.event_name != 'schedule' }} # only merge the action on schedule events | |
| bot-authors: "app/renovate" | |
| labels: "automerge" | |
| min-passing-checks: 5 |