chore(deps): bump kumahq/kuma-gui to 06c738251462d53a6482f1c9ee08a70d98aab3ce #16824
Workflow file for this run
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: auto-merge | |
concurrency: | |
cancel-in-progress: true | |
group: ${{github.workflow}}-${{github.event.pull_request.number}} | |
on: | |
pull_request: | |
types: [labeled, opened, reopened, synchronize] | |
branches: | |
- 'master' | |
- 'release-*' | |
permissions: | |
contents: read | |
jobs: | |
approve-and-auto-merge: | |
timeout-minutes: 10 | |
runs-on: ubuntu-24.04 | |
if: contains(github.event.pull_request.labels.*.name, 'ci/auto-merge') | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Generate GitHub app token | |
id: github-app-token | |
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1 | |
with: | |
app-id: ${{ secrets.APP_ID }} | |
private-key: ${{ secrets.APP_PRIVATE_KEY }} | |
- name: Approve PR | |
run: gh pr review ${{ github.event.pull_request.number }} -a -R ${{ github.repository }} | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
- name: Enable auto-merge | |
run: gh pr merge ${{ github.event.pull_request.number }} --auto --squash -R ${{ github.repository }} | |
env: | |
GITHUB_TOKEN: ${{ steps.github-app-token.outputs.token }} |