Skip to content

Commit cbe93cf

Browse files
committed
Update GitHub Actions
1 parent 38bb33e commit cbe93cf

8 files changed

+17
-17
lines changed

.github/workflows/aws-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
aws-region: us-west-2
3737
- name: Run Tests on AWS
3838
id: codebuild
39-
uses: aws-actions/aws-codebuild-run-build@v1
39+
uses: aws-actions/aws-codebuild-run-build@4d15a47425739ac2296ba5e7eee3bdd4bfbdd767 #v1.0.18
4040
with:
4141
project-name: ${{ secrets.CI_TESTING_CODE_BUILD_PROJECT_NAME }}
4242
- name: CodeBuild Link
4343
shell: pwsh
4444
run: |
4545
$buildId = "${{ steps.codebuild.outputs.aws-build-id }}"
46-
echo $buildId
46+
echo $buildId

.github/workflows/change-file-in-pr.yml

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

1313
steps:
1414
- name: Checkout PR code
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0
1616

1717
- name: Get List of Changed Files
1818
id: changed-files

.github/workflows/closed-issue-message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
auto_comment:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: aws-actions/closed-issue-message@v1
9+
- uses: aws-actions/closed-issue-message@3f5beaaa9f8095897f6d11d1b2e0234dda310ebf #unknown-version
1010
with:
1111
# These inputs are both required
1212
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/create-release-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@ jobs:
3131
aws-region: us-west-2
3232
# Retrieve the Access Token from Secrets Manager
3333
- name: Retrieve secret from AWS Secrets Manager
34-
uses: aws-actions/aws-secretsmanager-get-secrets@v2
34+
uses: aws-actions/aws-secretsmanager-get-secrets@b059cd8b8897a9774d09b043dea953a08bf740ea #unknown-version
3535
with:
3636
secret-ids: |
3737
AWS_SECRET, ${{ secrets.RELEASE_WORKFLOW_ACCESS_TOKEN_NAME }}
3838
parse-json-secrets: true
3939
# Checkout a full clone of the repo
4040
- name: Checkout
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
4242
with:
4343
fetch-depth: '0'
4444
token: ${{ env.AWS_SECRET_TOKEN }}
4545
# Install .NET8 which is needed for AutoVer
4646
- name: Setup .NET 8.0
47-
uses: actions/setup-dotnet@v4
47+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
4848
with:
4949
dotnet-version: 8.0.x
5050
# Install AutoVer to automate versioning and changelog creation
@@ -98,4 +98,4 @@ jobs:
9898
run: |
9999
pr_url="$(gh pr create --title "${{ steps.read-release-name.outputs.VERSION }}" --body "${{ steps.read-changelog.outputs.CHANGELOG }}" --base v4sdk-development --head ${{ steps.create-release-branch.outputs.BRANCH }})"
100100
gh label create "Release PR" --description "A Release PR that includes versioning and changelog changes" -c "#FF0000" -f
101-
gh pr edit $pr_url --add-label "Release PR"
101+
gh pr edit $pr_url --add-label "Release PR"

.github/workflows/handle-stale-discussions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
discussions: write
1414
steps:
1515
- name: Stale discussions action
16-
uses: aws-github-ops/handle-stale-discussions@v1
16+
uses: aws-github-ops/handle-stale-discussions@711a9813957be17629fc6933afcd8bd132c57254 #v1.6
1717
env:
1818
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/issue-regression-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Fetch template body
1313
id: check_regression
14-
uses: actions/github-script@v7
14+
uses: actions/github-script@5c56fde4671bc2d3592fb0f2c5b5bab9ddae03b1 #unknown-version
1515
env:
1616
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1717
TEMPLATE_BODY: ${{ github.event.issue.body }}

.github/workflows/stale_issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
name: Stale issue job
1212
steps:
13-
- uses: aws-actions/stale-issue-cleanup@v6
13+
- uses: aws-actions/stale-issue-cleanup@2790509321bec5e987679ec8d4a021aa2cca0ca1 #unknown-version
1414
with:
1515
# Setting messages to an empty string will cause the automation to skip
1616
# that category

.github/workflows/sync-main-dev.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ jobs:
3232
aws-region: us-west-2
3333
# Retrieve the Access Token from Secrets Manager
3434
- name: Retrieve secret from AWS Secrets Manager
35-
uses: aws-actions/aws-secretsmanager-get-secrets@v2
35+
uses: aws-actions/aws-secretsmanager-get-secrets@b059cd8b8897a9774d09b043dea953a08bf740ea #unknown-version
3636
with:
3737
secret-ids: |
3838
AWS_SECRET, ${{ secrets.RELEASE_WORKFLOW_ACCESS_TOKEN_NAME }}
3939
parse-json-secrets: true
4040
# Checkout a full clone of the repo
4141
- name: Checkout code
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
4343
with:
4444
ref: v4sdk-development
4545
fetch-depth: 0
4646
token: ${{ env.AWS_SECRET_TOKEN }}
4747
# Install .NET8 which is needed for AutoVer
4848
- name: Setup .NET 8.0
49-
uses: actions/setup-dotnet@v4
49+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
5050
with:
5151
dotnet-version: 8.0.x
5252
# Install AutoVer which is needed to retrieve information about the current release.
@@ -106,13 +106,13 @@ jobs:
106106
steps:
107107
# Checkout a full clone of the repo
108108
- name: Checkout code
109-
uses: actions/checkout@v4
109+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
110110
with:
111111
ref: releases/next-release
112112
fetch-depth: 0
113113
# Install .NET8 which is needed for AutoVer
114114
- name: Setup .NET 8.0
115-
uses: actions/setup-dotnet@v4
115+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
116116
with:
117117
dotnet-version: 8.0.x
118118
# Install AutoVer which is needed to retrieve information about the current release.
@@ -134,4 +134,4 @@ jobs:
134134
run: |
135135
git fetch origin
136136
git push --delete origin ${{ steps.read-tag-name.outputs.TAG }}
137-
git push origin --delete releases/next-release
137+
git push origin --delete releases/next-release

0 commit comments

Comments
 (0)