diff --git a/.github/workflows/approve-pr.yml b/.github/workflows/approve-pr.yml index c7573035..0518065b 100644 --- a/.github/workflows/approve-pr.yml +++ b/.github/workflows/approve-pr.yml @@ -32,7 +32,7 @@ jobs: skip-commit-verification: true - id: checkout name: Checkout ${{ github.head_ref }} - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: persist-credentials: false ref: ${{ github.head_ref }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41a2fad9..1968f100 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: uses: hmarr/debug-action@v2.0.1 - id: checkout name: Checkout ${{ env.REF }} - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: ref: ${{ env.REF }} - id: yarn diff --git a/.github/workflows/dependabot-auto.yml b/.github/workflows/dependabot-auto.yml index 9d1d1ff0..e9bc47bd 100644 --- a/.github/workflows/dependabot-auto.yml +++ b/.github/workflows/dependabot-auto.yml @@ -39,7 +39,7 @@ jobs: skip-commit-verification: true - id: checkout name: Checkout ${{ github.head_ref }} - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: persist-credentials: ${{ steps.metadata.outputs.package-ecosystem == 'npm_and_yarn' }} ref: ${{ github.head_ref }} diff --git a/.github/workflows/integrity.yml b/.github/workflows/integrity.yml index 6a3f904e..7a1da58b 100644 --- a/.github/workflows/integrity.yml +++ b/.github/workflows/integrity.yml @@ -38,7 +38,7 @@ jobs: steps: - id: checkout name: Checkout ${{ env.REF }} - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: persist-credentials: false ref: ${{ env.REF }} diff --git a/.github/workflows/label-linked-issues.yml b/.github/workflows/label-linked-issues.yml index 8ec36049..a10f6f1c 100644 --- a/.github/workflows/label-linked-issues.yml +++ b/.github/workflows/label-linked-issues.yml @@ -33,7 +33,7 @@ jobs: steps: - id: checkout name: Checkout main - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: persist-credentials: false ref: main diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 5f731a1f..7c2d1149 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -28,7 +28,7 @@ jobs: steps: - id: checkout name: Checkout ${{ github.ref_name }} - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: ref: ${{ github.ref }} - id: sync diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1bab7782..32ca94d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,7 +44,7 @@ jobs: uses: hmarr/debug-action@v2.0.1 - id: checkout name: Checkout ${{ env.TAG }} - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: ref: ${{ format('refs/tags/{0}', env.TAG) }} - id: version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b9b1a55..0309e8fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,7 @@ jobs: uses: hmarr/debug-action@v2.0.1 - id: checkout name: Checkout ${{ env.REF }} - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: ref: ${{ env.REF }} - id: version @@ -82,7 +82,7 @@ jobs: steps: - id: checkout name: Checkout ${{ github.event.inputs.sha || 'event.pull_request.merge_commit_sha' }} - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 with: fetch-depth: 0 ref: ${{ github.event.inputs.sha || github.event.pull_request.merge_commit_sha }}