Skip to content

(auto merged) Bump cloudflare/cloudflared from 2024.3.0 to 2024.4.0 in /ansible/manifests/cloudflared #55

(auto merged) Bump cloudflare/cloudflared from 2024.3.0 to 2024.4.0 in /ansible/manifests/cloudflared

(auto merged) Bump cloudflare/cloudflared from 2024.3.0 to 2024.4.0 in /ansible/manifests/cloudflared #55

Workflow file for this run

name: auto-merge
on:
pull_request:
branches:
- main
jobs:
auto-merge:
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'dependabot/') ||
startsWith(github.head_ref, 'actions/')
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.AUTO_MERGE_BOT_APP_ID }}
private-key: ${{ secrets.AUTO_MERGE_BOT_PRIVATE_KEY }}
- name: Approve & enable auto-merge for Dependabot/Actions PR
run: |
gh pr review --approve "$PR_URL"
gh pr edit "$PR_URL" -t "(auto merged) $PR_TITLE"
# Retry to work around "Base branch was modified." error.
# Ref: https://github.com/cli/cli/issues/8092
for i in {1..3}; do
gh pr merge --auto --merge "$PR_URL" && exit 0
sleep 5
done
exit 1
env:
PR_URL: ${{ github.event.pull_request.html_url }}
PR_TITLE: ${{ github.event.pull_request.title }}
GH_TOKEN: ${{ steps.generate_token.outputs.token }}