feat: updated the logging-operator version #7286
This file contains 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: "Automerge" | |
on: | |
pull_request_target: | |
types: | |
- labeled | |
- unlabeled | |
- synchronize | |
- opened | |
- edited | |
- ready_for_review | |
- reopened | |
check_suite: | |
types: | |
- completed | |
workflow_dispatch: {} | |
jobs: | |
automerge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Enable auto-merge for automated chart bump PRs or label | |
id: automerge | |
if: | | |
(startsWith(github.head_ref, 'chartbump/') || contains(github.event.pull_request.labels.*.name, 'auto-merge')) | |
&& contains(github.event.pull_request.labels.*.name, 'ready-for-review') | |
&& !contains(github.event.pull_request.labels.*.name, 'do-not-merge') | |
&& !contains(github.event.pull_request.labels.*.name, 'do-not-merge/testing') | |
&& !contains(github.event.pull_request.labels.*.name, 'let-me-merge-it') | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |