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 8
8
permissions :
9
9
contents : write
10
10
packages : write
11
+ pull-requests : write
11
12
12
13
jobs :
13
14
goreleaser :
18
19
uses : actions/checkout@v5
19
20
with :
20
21
fetch-depth : 0
21
- token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
22
-
23
- - name : Fetch all tags
24
- run : git fetch --force --tags
25
22
26
23
- name : Set up Go
27
24
uses : actions/setup-go@v6
@@ -66,11 +63,16 @@ jobs:
66
63
yq -i '.version = env(CHART_VERSION)' $CHART_PATH/Chart.yaml
67
64
yq -i '.appVersion = env(APP_VERSION)' $CHART_PATH/Chart.yaml
68
65
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
74
76
75
77
build-and-push :
76
78
uses : ./.github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change 2
2
3
3
# Build Burrito UI
4
4
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
6
6
7
7
WORKDIR /workspace
8
8
# Copy the node modules manifests
@@ -17,7 +17,7 @@ ENV VITE_API_BASE_URL=/api
17
17
RUN yarn build
18
18
19
19
# 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
21
21
ARG TARGETOS
22
22
ARG TARGETARCH
23
23
ARG PACKAGE=github.com/padok-team/burrito
You can’t perform that action at this time.
0 commit comments