Skip to content

Production: ghcr.io/piny940/auth-backend:1.0.177 #1473

Production: ghcr.io/piny940/auth-backend:1.0.177

Production: ghcr.io/piny940/auth-backend:1.0.177 #1473

Workflow file for this run

name: FluxCD Auto-PR
on:
push:
branches:
- fluxcd/image-update
jobs:
create-and-merge-pr:
name: Open PR to main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: checkout
- name: Create pull request
id: create_pr
run: |
PR_URL=$(gh pr create --base main --title "FluxCD Image Update Automation PR" \
--body ":crown: *An automated PR*" --head "${{ github.ref_name }}")
echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Enable auto-merge for FluxCD PRs
run: gh pr merge --auto --merge --delete-branch "${{ steps.create_pr.outputs.pr_url }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}