diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9d950c3958..ce7a17ec02 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/ion-java-performance-regression-detector.yml b/.github/workflows/ion-java-performance-regression-detector.yml index be2b035c18..bea37b9f39 100644 --- a/.github/workflows/ion-java-performance-regression-detector.yml +++ b/.github/workflows/ion-java-performance-regression-detector.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout ion-data-generator - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: repository: amazon-ion/ion-data-generator ref: main @@ -64,20 +64,20 @@ jobs: java-version: 11 - name: Checkout ion-java-benchmark-cli - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: repository: amazon-ion/ion-java-benchmark-cli ref: master path: ion-java-benchmark-cli - name: Checkout ion-java from the previous commit - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: ref: ${{ github.base_ref }} path: baseline - name: Checkout ion-java from the new commit. - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: ref: ${{ github.head_ref }} path: new diff --git a/.github/workflows/ion-test-driver.yml b/.github/workflows/ion-test-driver.yml index df720c4bfa..d5155ad9eb 100644 --- a/.github/workflows/ion-test-driver.yml +++ b/.github/workflows/ion-test-driver.yml @@ -13,14 +13,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout ion-java - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # master + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # master with: repository: amazon-ion/ion-java ref: master path: ion-java - name: Checkout ion-test-driver - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # master + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # master with: repository: amazon-ion/ion-test-driver ref: master @@ -80,7 +80,7 @@ jobs: needs: ion-test-driver if: ${{ failure() }} steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # master + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # master - name: Open an issue uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd # v2.9.1 env: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 733a270afd..ac5a9f39d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: upload_reports: true - java: 17 steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: submodules: recursive - uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0 @@ -47,7 +47,7 @@ jobs: # https://github.com/amazon-ion/ion-java/blob/master/.github/actions/inspect-version/action.yml runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.6.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 - name: Get Project Version run: | echo "PROJECT_VERSION=v$(> $GITHUB_ENV diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 7fef0afc87..49669c486e 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -44,7 +44,7 @@ jobs: outputs: should_create_draft: ${{ steps.inspect.outputs.is_valid_to_release }} steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.6.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 - name: Get project version run: | echo "PROJECT_VERSION=$(> $GITHUB_ENV @@ -65,7 +65,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.6.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 - name: Create a draft release shell: bash env: diff --git a/.github/workflows/publish-release-artifacts.yml b/.github/workflows/publish-release-artifacts.yml index 8c7ca63daa..376de1cd49 100644 --- a/.github/workflows/publish-release-artifacts.yml +++ b/.github/workflows/publish-release-artifacts.yml @@ -29,7 +29,7 @@ jobs: # First, a sanity check to ensure that the library version matches the release version runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.6.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 - name: Validate project version matches tag shell: bash run: | @@ -48,7 +48,7 @@ jobs: steps: # TODO: replace with artifact upload/download -- make sure there's no race condition with other builds also # uploading an artifact. - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.6.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 with: submodules: recursive - uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # v2.9.0 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 22ea53b6f3..05b5bcc9e0 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -32,7 +32,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.1.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0 with: persist-credentials: false diff --git a/.github/workflows/test-inspect-version-action.yml b/.github/workflows/test-inspect-version-action.yml index 666238ed02..2eb8532430 100644 --- a/.github/workflows/test-inspect-version-action.yml +++ b/.github/workflows/test-inspect-version-action.yml @@ -53,7 +53,7 @@ jobs: expected: action_failure steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.6.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0 - name: Invoke Action id: inspect continue-on-error: ${{ matrix.expected == 'action_failure' }}