Skip to content

Commit 48222be

Browse files
committed
fix: rescan with v2.4.9, correct PowerShell env var syntax and extract inline secrets
1 parent 4af02cd commit 48222be

11 files changed

Lines changed: 96 additions & 56 deletions

.github/workflows/build_command.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ jobs:
3636
curl -L \
3737
-X POST \
3838
-H "Accept: application/vnd.github+json" \
39-
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
39+
-H "Authorization: Bearer ${TOKEN}" \
4040
-H "X-GitHub-Api-Version: 2022-11-28" \
4141
https://api.github.com/repos/AppFlowy-IO/AppFlowy-Builder/actions/workflows/$platform.yaml/dispatches \
4242
-d "$params"
43+
44+
env:
45+
TOKEN: ${{ secrets.TOKEN }}

.github/workflows/commit_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88
- uses: actions/checkout@v4
99
with:
1010
fetch-depth: 0
11-
- uses: wagoid/commitlint-github-action@v4
11+
- uses: wagoid/commitlint-github-action@416045160973f9fff174ac6698412cfe7181c3f3 # v4

.github/workflows/docker_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v4
2121

2222
- name: Set up Docker Buildx
23-
uses: docker/setup-buildx-action@v3
23+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
2424

2525
# cache the docker layers
2626
# don't cache anything temporarly, because it always triggers "no space left on device" error
@@ -33,7 +33,7 @@ jobs:
3333
# ${{ runner.os }}-buildx-
3434

3535
- name: Build the app
36-
uses: docker/build-push-action@v5
36+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
3737
with:
3838
context: .
3939
file: ./frontend/scripts/docker-buildfiles/Dockerfile

.github/workflows/flutter_ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141

142142
- name: Install Rust toolchain
143143
id: rust_toolchain
144-
uses: actions-rs/toolchain@v1
144+
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
145145
with:
146146
toolchain: ${{ env.RUST_TOOLCHAIN }}
147147
target: ${{ matrix.target }}
@@ -150,20 +150,20 @@ jobs:
150150

151151
- name: Install flutter
152152
id: flutter
153-
uses: subosito/flutter-action@v2
153+
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2
154154
with:
155155
channel: "stable"
156156
flutter-version: ${{ env.FLUTTER_VERSION }}
157157
cache: true
158158

159-
- uses: Swatinem/rust-cache@v2
159+
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
160160
with:
161161
prefix-key: ${{ matrix.os }}
162162
workspaces: |
163163
frontend/rust-lib
164164
cache-all-crates: true
165165

166-
- uses: taiki-e/install-action@v2
166+
- uses: taiki-e/install-action@7627fb428e65e78e2ec9a24ae5c5bd5f8553f182 # v2
167167
with:
168168
tool: cargo-make@${{ env.CARGO_MAKE_VERSION }}, duckscript_cli
169169

@@ -292,13 +292,13 @@ jobs:
292292

293293
- name: Install flutter
294294
id: flutter
295-
uses: subosito/flutter-action@v2
295+
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2
296296
with:
297297
channel: "stable"
298298
flutter-version: ${{ env.FLUTTER_VERSION }}
299299
cache: true
300300

301-
- uses: taiki-e/install-action@v2
301+
- uses: taiki-e/install-action@7627fb428e65e78e2ec9a24ae5c5bd5f8553f182 # v2
302302
with:
303303
tool: cargo-make@${{ env.CARGO_MAKE_VERSION }}
304304

.github/workflows/ios_ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,27 @@ jobs:
3434
uses: actions/checkout@v4
3535

3636
- name: Install Rust toolchain
37-
uses: actions-rs/toolchain@v1
37+
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
3838
with:
3939
toolchain: ${{ env.RUST_TOOLCHAIN }}
4040
target: aarch64-apple-ios-sim
4141
override: true
4242
profile: minimal
4343

4444
- name: Install Flutter
45-
uses: subosito/flutter-action@v2
45+
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2
4646
with:
4747
channel: "stable"
4848
flutter-version: ${{ env.FLUTTER_VERSION }}
4949
cache: true
5050

51-
- uses: Swatinem/rust-cache@v2
51+
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
5252
with:
5353
prefix-key: macos-latest
5454
workspaces: |
5555
frontend/rust-lib
5656
57-
- uses: davidB/rust-cargo-make@v1
57+
- uses: davidB/rust-cargo-make@291dc18d931d07d4960a5c40e9b6afcea9287f5b # v1
5858
with:
5959
version: "0.37.15"
6060

.github/workflows/mobile_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
done
7070
7171
- name: Slack Notification
72-
uses: 8398a7/action-slack@v3
72+
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3
7373
if: always()
7474
with:
7575
status: ${{ steps.check_status.outputs.success == 'true' && 'success' || 'failure' }}

.github/workflows/ninja_i18n.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Run Ninja i18n
2121
id: ninja-i18n
22-
uses: opral/ninja-i18n-action@main
22+
uses: opral/ninja-i18n-action@415e999371bc9489e3d4a49503c43c3d075d9428 # main
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525

0 commit comments

Comments
 (0)