Skip to content

Commit 75c234f

Browse files
Merge pull request #60 from uptick/plt-1209/pin-github-actions-sha
PLT-1209 security(gha): Pin all github actions to a fixed sha via ratchet
2 parents bf1975e + 80df20f commit 75c234f

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Python
22
on:
33
push:
44
branches:
5-
- release/*
6-
- develop
7-
- master
8-
- main
5+
- release/*
6+
- develop
7+
- master
8+
- main
99
pull_request: {}
1010

1111
permissions:
@@ -20,7 +20,7 @@ env:
2020

2121
jobs:
2222
ci:
23-
uses: uptick/actions/.github/workflows/ci.yaml@main
23+
uses: uptick/actions/.github/workflows/ci.yaml@main # ratchet:exclude
2424
secrets:
2525
SECRET_ENV: "${{ secrets.DEPLOY_KEY }}"
2626
with:

.github/workflows/release-please.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
tag_name: ${{ steps.release.outputs.tag_name }}
2222
sha: ${{ steps.release.outputs.sha }}
2323
steps:
24-
- uses: googleapis/release-please-action@v4
24+
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # ratchet:googleapis/release-please-action@v4
2525
id: release
2626
with: {}
2727

2828
publish_docker_image:
2929
name: Build and Push Docker Image
30-
uses: uptick/actions/.github/workflows/ci.yaml@main
30+
uses: uptick/actions/.github/workflows/ci.yaml@main # ratchet:exclude
3131
needs: release-please
3232
if: ${{ needs.release-please.outputs.release_created }}
3333
secrets:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
build:
1414
name: Build and Push Docker Image
15-
uses: uptick/actions/.github/workflows/ci.yaml@main
15+
uses: uptick/actions/.github/workflows/ci.yaml@main # ratchet:exclude
1616
secrets:
1717
SECRET_ENV: "${{ secrets.DEPLOY_KEY }}"
1818
#https://github.com/uptick/actions/blob/main/.github/workflows/ci.yaml

0 commit comments

Comments
 (0)