Production: ghcr.io/piny940/auth-backend:1.0.177 #1473
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: 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 }} |