diff --git a/.github/workflows/event.yml b/.github/workflows/event.yml index 6a973b4277fb..ea91e63cfe37 100644 --- a/.github/workflows/event.yml +++ b/.github/workflows/event.yml @@ -20,6 +20,6 @@ jobs: name: Handle ${{ github.event_name }} ${{ github.event.action }} event runs-on: ubuntu-latest # This image is intentionally set to "latest", and not to a specific version steps: - - uses: azure/azure-sdk-actions@main + - uses: azure/azure-sdk-actions@6a2d61414e790705ab24370421c0a5b04b65de53 # main with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/post-apiview.yml b/.github/workflows/post-apiview.yml index 650ca244a567..e47fbdacd792 100644 --- a/.github/workflows/post-apiview.yml +++ b/.github/workflows/post-apiview.yml @@ -24,7 +24,7 @@ jobs: contains(github.event.check_run.name, 'SDK Validation') ) steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: sparse-checkout: "eng/common" diff --git a/.github/workflows/verify-links.yml b/.github/workflows/verify-links.yml index f41d380f17ac..799b20930776 100644 --- a/.github/workflows/verify-links.yml +++ b/.github/workflows/verify-links.yml @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: ref: ${{ github.event.pull_request.head.sha || github.event.check_run.head_sha || github.sha }} fetch-depth: 0