Skip to content

Commit 60ab523

Browse files
authored
fix(GHA): pin actions and concurrency (freeCodeCamp#65960)
1 parent babe7c9 commit 60ab523

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/deploy-api.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ on:
1616
type: boolean
1717
default: false
1818

19+
concurrency:
20+
group: deploy-api-${{ github.ref_name }}
21+
cancel-in-progress: false
22+
1923
jobs:
2024
setup-jobs:
2125
name: Setup Jobs

.github/workflows/deploy-client.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
type: boolean
2525
default: false
2626

27+
concurrency:
28+
group: deploy-client-${{ github.ref_name }}
29+
cancel-in-progress: false
30+
2731
jobs:
2832
setup-jobs:
2933
name: Setup Jobs

.github/workflows/docker-docr-cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Install doctl
22-
uses: digitalocean/action-doctl@v2
22+
uses: digitalocean/action-doctl@135ac0aa0eed4437d547c6f12c364d3006b42824 # v2
2323
with:
2424
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
2525

.github/workflows/docker-docr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
6666

6767
- name: Install doctl
68-
uses: digitalocean/action-doctl@v2
68+
uses: digitalocean/action-doctl@135ac0aa0eed4437d547c6f12c364d3006b42824 # v2
6969
with:
7070
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
7171

0 commit comments

Comments
 (0)