Skip to content

Commit cfd2076

Browse files
committed
fix: resolve workflow and Dockerfile issues
- Add faraday-retry gem installation - Update GitHub Actions permissions - Pin wget version in Dockerfiles to comply with Trunk
1 parent b09627c commit cfd2076

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ on:
88
- "**.md"
99
workflow_dispatch:
1010

11-
permissions: read-all
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
issues: write
1215

1316
jobs:
1417
create-release-pr:
@@ -24,16 +27,19 @@ jobs:
2427
ruby-version: 3.2
2528
bundler-cache: true
2629

27-
- name: Configure Git
30+
- name: Install dependencies
2831
run: |
29-
git config --global user.email github-actions[bot]@users.noreply.github.com
30-
git config --global user.name github-actions[bot]
32+
gem install faraday-retry
33+
gem install git-pr-release --no-document
3134
32-
- name: Install git-pr-release
33-
run: gem install git-pr-release --no-document
35+
- name: Configure Git
36+
run: |
37+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
38+
git config --global user.name "github-actions[bot]"
3439
3540
- name: Create Release PR
3641
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3743
GIT_PR_RELEASE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3844
GIT_PR_RELEASE_BRANCH_PRODUCTION: main
3945
GIT_PR_RELEASE_BRANCH_STAGING: develop

docker/innovation/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG MYSQL_SHELL_VERSION=9.2.0
77
RUN useradd -ms /bin/bash mysqlshelluser
88

99
RUN apt-get update && apt-get install -y \
10-
wget \
10+
wget=1.21.* \
1111
&& rm -rf /var/lib/apt/lists/* \
1212
&& wget https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell_${MYSQL_SHELL_VERSION}-1debian12_amd64.deb \
1313
&& apt-get update \

docker/lts/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG MYSQL_SHELL_VERSION=8.4.4
77
RUN useradd -ms /bin/bash mysqlshelluser
88

99
RUN apt-get update && apt-get install -y \
10-
wget \
10+
wget=1.21.* \
1111
&& rm -rf /var/lib/apt/lists/* \
1212
&& wget https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell_${MYSQL_SHELL_VERSION}-1debian12_amd64.deb \
1313
&& apt-get update \

0 commit comments

Comments
 (0)