Skip to content

Commit 69fc7ae

Browse files
authored
chore: pin actions to sha (#1333)
1 parent b27cab9 commit 69fc7ae

7 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
timeout-minutes: 30
2121

2222
steps:
23-
- uses: actions/checkout@v6
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424

25-
- uses: subosito/flutter-action@v2
25+
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
2626
with:
2727
flutter-version: '3.x'
2828
channel: 'stable'
@@ -99,7 +99,7 @@ jobs:
9999
dart pub global run combine_coverage:combine_coverage --repo-path="./" --output-directory="coverage"
100100
101101
- name: Upload combined coverage report
102-
uses: coverallsapp/github-action@v2
102+
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7
103103
with:
104104
github-token: ${{ secrets.GITHUB_TOKEN }}
105105
path-to-lcov: ./coverage/lcov.info

.github/workflows/dart-package-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444

4545
steps:
4646
- name: Checkout repository
47-
uses: actions/checkout@v6
47+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848

4949
- name: Setup Dart
50-
uses: dart-lang/setup-dart@v1
50+
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1.7.1
5151
with:
5252
sdk: ${{ matrix.sdk }}
5353

5454
- name: Cache pub dependencies
55-
uses: actions/cache@v5
55+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
5656
with:
5757
path: |
5858
${{ env.PUB_CACHE }}

.github/workflows/release-prepare.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
required: false
1414
default: false
1515
type: boolean
16-
16+
1717
permissions:
1818
contents: write
1919
pull-requests: write
@@ -25,19 +25,19 @@ jobs:
2525
steps:
2626
- name: Generate token
2727
id: app-token
28-
uses: actions/create-github-app-token@v2
28+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
2929
with:
3030
app-id: ${{ secrets.APP_ID }}
3131
private-key: ${{ secrets.PRIVATE_KEY }}
3232

3333
- name: Checkout
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
fetch-depth: 0
3737
token: ${{ steps.app-token.outputs.token }}
3838

3939
- name: Setup Flutter
40-
uses: subosito/flutter-action@v2
40+
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
4141
with:
4242
cache: true
4343

.github/workflows/release-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ jobs:
2727
steps:
2828
- name: Generate token
2929
id: app-token
30-
uses: actions/create-github-app-token@v2
30+
actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
3131
with:
3232
app-id: ${{ secrets.APP_ID }}
3333
private-key: ${{ secrets.PRIVATE_KEY }}
3434

3535
- name: Checkout
36-
uses: actions/checkout@v6
36+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3737
with:
3838
fetch-depth: 0
3939
ref: ${{ inputs.package-name }}-v${{ inputs.package-version }}
4040

4141
- name: Setup Flutter
42-
uses: subosito/flutter-action@v2
42+
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
4343
with:
4444
cache: true
4545

@@ -64,7 +64,7 @@ jobs:
6464
echo "EOF" >> $GITHUB_OUTPUT
6565
6666
- name: Create GitHub Release
67-
uses: softprops/action-gh-release@v2
67+
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
6868
with:
6969
tag_name: ${{ inputs.package-name }}-v${{ inputs.package-version }}
7070
name: ${{ inputs.package-name }} v${{ inputs.package-version }}

.github/workflows/release-tag.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
steps:
2222
- name: Generate token
2323
id: app-token
24-
uses: actions/create-github-app-token@v2
24+
actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
2525
with:
2626
app-id: ${{ secrets.APP_ID }}
2727
private-key: ${{ secrets.PRIVATE_KEY }}
2828
- name: Checkout
29-
uses: actions/checkout@v6
29+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
with:
3131
fetch-depth: 0
3232

3333
- name: Setup Flutter
34-
uses: subosito/flutter-action@v2
34+
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
3535
with:
3636
cache: true
3737

@@ -48,4 +48,4 @@ jobs:
4848
--field package-version=\$MELOS_PACKAGE_VERSION && \
4949
sleep 30"
5050
env:
51-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
51+
GH_TOKEN: ${{ steps.app-token.outputs.token }}

.github/workflows/supabase_flutter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252

5353
steps:
5454
- name: Checkout repository
55-
uses: actions/checkout@v6
55+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5656

5757
- name: Setup Flutter
58-
uses: subosito/flutter-action@v2
58+
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
5959
with:
6060
flutter-version: ${{ matrix.flutter-version }}
6161
channel: 'stable'

.github/workflows/title-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 5
2424
steps:
25-
- uses: amannn/action-semantic-pull-request@v6
25+
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
with:

0 commit comments

Comments
 (0)