Skip to content

Commit

Permalink
chore: pin github actions by commit hash (#3385)
Browse files Browse the repository at this point in the history
* Pin GitHub Actions by commit-hash

* Pin GitHub Actions by commit-hash
  • Loading branch information
ankpshah authored Aug 9, 2023
1 parent 4819be2 commit efa7d40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git -y
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
ref: ${{ env.BASE_BRANCH }}
fetch-depth: 0
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@b8d447ba7506ac7e0c8fbc50762276fb3b7df731 # v1
with:
ruby-version: 2.7
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/snapshot_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # v1
with:
role-to-assume: ${{ secrets.SNAPSHOT_PUBLISHER_ROLE }}
aws-region: us-east-1
- name: Start Snapshot Release
uses: aws-actions/aws-codebuild-run-build@v1
uses: aws-actions/aws-codebuild-run-build@f202c327329cbbebd13f986f74af162a8539b5fd # v1
with:
project-name: AndroidSDK-SnapshotRelease
project-name: AndroidSDK-SnapshotRelease

0 comments on commit efa7d40

Please sign in to comment.