Skip to content

Commit c2ed890

Browse files
committed
fix: pin 3rd-party GitHub Actions to commit SHA digests
1 parent dfd9ef1 commit c2ed890

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929

3030
- name: Run Claude Code
31-
uses: anthropics/claude-code-action@v1
31+
uses: anthropics/claude-code-action@2f8ba26a219c06cfb0f468eef8d97055fa814f97 # v1
3232
with:
3333
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3434
# Optional: Configure Claude's behavior

.github/workflows/docker-build-push.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636
uses: actions/checkout@v4
3737

3838
- name: Set up Docker Buildx
39-
uses: docker/setup-buildx-action@v3
39+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
4040

4141
- name: Log in to GitHub Container Registry
42-
uses: docker/login-action@v3
42+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
4343
with:
4444
registry: ${{ env.REGISTRY }}
4545
username: ${{ github.actor }}
4646
password: ${{ secrets.GITHUB_TOKEN }}
4747

4848
- name: Extract metadata (tags, labels)
4949
id: meta
50-
uses: docker/metadata-action@v5
50+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
5151
with:
5252
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5353
tags: |
@@ -61,7 +61,7 @@ jobs:
6161
6262
- name: Build and push Docker image
6363
id: build-push
64-
uses: docker/build-push-action@v5
64+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
6565
with:
6666
context: .
6767
push: ${{ github.event_name != 'pull_request' }}
@@ -79,4 +79,4 @@ jobs:
7979
run: |
8080
echo "Image pushed successfully!"
8181
echo "To update K3s deployment, run:"
82-
echo "kubectl rollout restart deployment/<deployment-name> -n <namespace>"
82+
echo "kubectl rollout restart deployment/<deployment-name> -n <namespace>"

0 commit comments

Comments
 (0)