Skip to content

Commit 798e644

Browse files
authored
Merge pull request #1 from thirdweb-dev/eiman/action-sha-commits
security: pin GitHub Actions to SHA commit hashes
2 parents 8b7a1a4 + 714f436 commit 798e644

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1919

2020
- name: Setup Node.js
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2222
with:
2323
node-version: '20'
2424

2525
- name: Setup pnpm
26-
uses: pnpm/action-setup@v2
26+
uses: pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2.4.1
2727
with:
2828
version: 8
2929

@@ -34,7 +34,7 @@ jobs:
3434
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
3535
3636
- name: Setup pnpm cache
37-
uses: actions/cache@v3
37+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
3838
with:
3939
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
4040
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
@@ -81,7 +81,7 @@ jobs:
8181
echo "- \`build/index.tsx.asset.php\`" >> $GITHUB_STEP_SUMMARY
8282
8383
- name: Upload build artifacts
84-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@c24449f33cd45d4826c6702db7e49f7cdb9b551d # v3.2.1-node20
8585
with:
8686
name: build-artifacts
8787
path: build/

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1919

2020
- name: Extract version from tag
2121
id: get_version
@@ -25,12 +25,12 @@ jobs:
2525
echo "Building version: $VERSION"
2626
2727
- name: Setup Node.js
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2929
with:
3030
node-version: '20'
3131

3232
- name: Setup pnpm
33-
uses: pnpm/action-setup@v2
33+
uses: pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2.4.1
3434
with:
3535
version: 8
3636

@@ -99,7 +99,7 @@ jobs:
9999
echo "Changelog extracted"
100100
101101
- name: Create GitHub Release
102-
uses: softprops/action-gh-release@v1
102+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
103103
with:
104104
name: Version ${{ steps.get_version.outputs.version }}
105105
body_path: CHANGELOG.txt

INSTALLATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Before installing the plugin, ensure you have:
4040

4141
## Installation Methods
4242

43-
### Method 1: WordPress.org (Recommended)
43+
### Method 1: WordPress.org (COMING SOON - pending approval in WP marketplace)
4444

4545
**Best for:** Most users, automatic updates
4646

0 commit comments

Comments
 (0)