Skip to content

Commit 4436e5b

Browse files
chore: pin github actions by commit hash (#2549)
Co-authored-by: Tyler Roach <[email protected]>
1 parent b17c24b commit 4436e5b

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

.github/workflows/closed_issue_message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
auto_comment:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: aws-actions/closed-issue-message@v1
11+
- uses: aws-actions/closed-issue-message@36b7048ea77bb834d16e7a7c5b5471ac767a4ca1 # v1
1212
with:
1313
# These inputs are both required
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/codecov_code_coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
# Steps represent a sequence of tasks that will be executed as part of the job
2525
steps:
2626
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2828
# Execute unit tests
2929
- name: Setup Java
30-
uses: actions/setup-java@v3
30+
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3
3131
with:
3232
java-version: '11'
3333
distribution: 'corretto'
@@ -45,4 +45,4 @@ jobs:
4545
uses: codecov/codecov-action@v3
4646
with:
4747
name: report
48-
files: code-coverage/*.xml
48+
files: code-coverage/*.xml

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1919
- name: Set up JDK 11
20-
uses: actions/setup-java@v1
20+
uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
2121
with:
2222
java-version: 11
2323
- name: Grant execute permission for gradlew

.github/workflows/maven_release_publisher.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Configure AWS Credentials
14-
uses: aws-actions/configure-aws-credentials@v1
14+
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # v1
1515
with:
1616
role-to-assume: ${{ secrets.AMPLIFY_ANDROID_RELEASE_PUBLISHER_ROLE }}
1717
aws-region: us-east-1
1818
- name: Start Integration Test
19-
uses: aws-actions/aws-codebuild-run-build@v1
19+
uses: aws-actions/aws-codebuild-run-build@f202c327329cbbebd13f986f74af162a8539b5fd # v1
2020
with:
2121
project-name: AmplifyAndroid-IntegrationTest
2222
env-vars-for-codebuild: |
@@ -26,11 +26,11 @@ jobs:
2626
ORG_GRADLE_PROJECT_useAwsSdkReleaseBuild: true
2727
NUMBER_OF_DEVICES_TO_TEST: 3
2828
- name: Configure AWS Credentials
29-
uses: aws-actions/configure-aws-credentials@v1
29+
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # v1
3030
with:
3131
role-to-assume: ${{ secrets.AMPLIFY_ANDROID_RELEASE_PUBLISHER_ROLE }}
3232
aws-region: us-east-1
3333
- name: Start Maven Release Build
34-
uses: aws-actions/aws-codebuild-run-build@v1
34+
uses: aws-actions/aws-codebuild-run-build@f202c327329cbbebd13f986f74af162a8539b5fd # v1
3535
with:
3636
project-name: AmplifyAndroid-ReleasePublisher

.github/workflows/release_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
sudo add-apt-repository -y ppa:git-core/ppa
2020
sudo apt-get update
2121
sudo apt-get install git -y
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2323
with:
2424
ref: ${{ env.BASE_BRANCH }}
2525
fetch-depth: 0

.github/workflows/release_pr_approval_count.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
&& startsWith(github.event.pull_request.title, 'release:')
1515
}}
1616
steps:
17-
- uses: actions/github-script@v3
17+
- uses: actions/github-script@ffc2c79a5b2490bd33e0a41c1de74b877714d736 # v3
1818
id: get_approval_count
1919
with:
2020
github-token: ${{secrets.GITHUB_TOKEN}}

.github/workflows/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
stale:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/stale@v4
11+
- uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da # v4
1212
with:
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}
1414
operations-per-run: 200
@@ -21,4 +21,4 @@ jobs:
2121
# PRs wont go stale
2222
days-before-pr-stale: -1
2323
# Issues with any of these labels are checked.
24-
any-of-labels: "pending-response, closing soon"
24+
any-of-labels: "pending-response, closing soon"

0 commit comments

Comments
 (0)