Skip to content

Commit 73de2ab

Browse files
Merge pull request #144 from uptick/plt-1209/pin-github-actions-sha
PLT-1209 security(gha): Pin all github actions to a fixed sha via ratchet
2 parents cff79d5 + 6114288 commit 73de2ab

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/release-please.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
helm-version: ${{ steps.release.outputs['charts/gitops--tag_name'] }}
2727
sha: ${{ steps.release.outputs.sha }}
2828
steps:
29-
- uses: googleapis/release-please-action@v4
29+
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # ratchet:googleapis/release-please-action@v4
3030
id: release
3131
with: {}
3232

@@ -35,9 +35,9 @@ jobs:
3535
needs: release-please
3636
if: ${{ needs.release-please.outputs.helm-version }}
3737
steps:
38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # ratchet:actions/checkout@v4
3939
- name: Publish Helm charts
40-
uses: stefanprodan/helm-gh-pages@master
40+
uses: stefanprodan/helm-gh-pages@89c6698c192e70ed0e495bee7d3d1ca5b477fe82 # ratchet:stefanprodan/helm-gh-pages@master
4141
with:
4242
token: ${{ secrets.GITHUB_TOKEN }}
4343

@@ -47,9 +47,9 @@ jobs:
4747
needs: release-please
4848
if: ${{ needs.release-please.outputs.cli-release-created}}
4949
steps:
50-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # ratchet:actions/checkout@v4
5151

52-
- uses: jdx/mise-action@v2
52+
- uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # ratchet:jdx/mise-action@v2
5353
with:
5454
install: true
5555
cache: true
@@ -60,11 +60,11 @@ jobs:
6060
shell: bash
6161
6262
- name: Publish Pypi Package
63-
uses: pypa/gh-action-pypi-publish@release/v1
63+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # ratchet:pypa/gh-action-pypi-publish@release/v1
6464

6565
publish_docker_image:
6666
name: Build and Push Docker Image
67-
uses: uptick/actions/.github/workflows/ci.yaml@main
67+
uses: uptick/actions/.github/workflows/ci.yaml@main # ratchet:exclude
6868
needs: release-please
6969
if: ${{ needs.release-please.outputs.server-release-created}}
7070
secrets:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
ci:
17-
uses: uptick/actions/.github/workflows/ci.yaml@main
17+
uses: uptick/actions/.github/workflows/ci.yaml@main # ratchet:exclude
1818
secrets: inherit
1919
with:
2020
praise-on-fix: false
@@ -26,7 +26,7 @@ jobs:
2626
mise run ci
2727
build:
2828
name: Build and Push Docker Image
29-
uses: uptick/actions/.github/workflows/ci.yaml@main
29+
uses: uptick/actions/.github/workflows/ci.yaml@main # ratchet:exclude
3030
secrets:
3131
SECRET_ENV: "${{ secrets.CLUSTER_KEY }}"
3232
#https://github.com/uptick/actions/blob/main/.github/workflows/ci.yaml

0 commit comments

Comments
 (0)