File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed
Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 88permissions :
99 contents : write
1010 packages : write
11+ pull-requests : write
1112
1213jobs :
1314 goreleaser :
1819 uses : actions/checkout@v5
1920 with :
2021 fetch-depth : 0
21- token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
22-
23- - name : Fetch all tags
24- run : git fetch --force --tags
2522
2623 - name : Set up Go
2724 uses : actions/setup-go@v6
@@ -66,11 +63,16 @@ jobs:
6663 yq -i '.version = env(CHART_VERSION)' $CHART_PATH/Chart.yaml
6764 yq -i '.appVersion = env(APP_VERSION)' $CHART_PATH/Chart.yaml
6865
69- - name : Commit version to repository
70- uses : stefanzweifel/git-auto-commit-action@v6
71- with :
72- commit_message : " chore(release): bump version to ${{ github.ref_name }}"
73- push_options : --force
66+ - name : Commit version to repository and open PR
67+ run : |
68+ BRANCH_NAME="bump-version-${{ github.ref_name }}"
69+ git config user.name "github-actions[bot]"
70+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
71+ git add .
72+ git switch -c $BRANCH_NAME
73+ git commit -m "chore(release): bump version to ${{ github.ref_name }}"
74+ git push origin $BRANCH_NAME
75+ gh pr create --fill --base main --head $BRANCH_NAME
7476
7577 build-and-push :
7678 uses : ./.github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change 22
33# Build Burrito UI
44
5- FROM docker.io/library/node:22.19.0@sha256:6fe286835c595e53cdafc4889e9eff903dd3008a3050c1675809148d8e0df805 AS builder-ui
5+ FROM docker.io/library/node:22.19.0@sha256:afff6d8c97964a438d2e6a9c96509367e45d8bf93f790ad561a1eaea926303d9 AS builder-ui
66
77WORKDIR /workspace
88# Copy the node modules manifests
@@ -17,7 +17,7 @@ ENV VITE_API_BASE_URL=/api
1717RUN yarn build
1818
1919# Build the manager binary
20- FROM docker.io/library/golang:1.24.7-alpine@sha256:2bba76c152a3059724bac887e7a24749a0f9a62d49fe7dfa1bcae30ee877e109 AS builder
20+ FROM docker.io/library/golang:1.24.7-alpine@sha256:fc2cff6625f3c1c92e6c85938ac5bd09034ad0d4bc2dfb08278020b68540dbb5 AS builder
2121ARG TARGETOS
2222ARG TARGETARCH
2323ARG PACKAGE=github.com/padok-team/burrito
You can’t perform that action at this time.
0 commit comments