diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6c1b0fa1..a41ab468 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -31,7 +31,7 @@ jobs: steps: # we want the head of the branch that triggered this, not the reference of the commit, this is so we get updated go versions etc. - name: Check out [${{ inputs.branch || github.ref }}] - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ inputs.branch || github.ref }} - name: Update Go env version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49f483c5..fb8b9122 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: # Checkout with full history for to allow compare with base branch - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 - uses: actions/setup-python@v6 @@ -52,7 +52,7 @@ jobs: - uses: actions/setup-python@v6 - name: Install tools run: pip install detect-secrets[gibberish]==1.5.0 && pip list - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 # FIXME: GitLeaks requires a licence now diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 058302ac..d7f1ecc8 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -21,7 +21,7 @@ jobs: needs: update-client steps: # Checkout with full history for to allow compare with base branch - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 - uses: actions/setup-python@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53b776b3..c6301343 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: outputs: changes: ${{ steps.check.outputs.changes }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Check if changes directory contains files id: check run: | @@ -33,7 +33,7 @@ jobs: needs: [ check-for-changes ] if: needs.check-for-changes.outputs.changes steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: # Get the full history as this is required by goreleaser fetch-depth: 0 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 0c1d6d51..1a875424 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -32,7 +32,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.1 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.1 with: persist-credentials: false diff --git a/.github/workflows/update-client.yml b/.github/workflows/update-client.yml index 2ffcb3a6..b8d62dec 100644 --- a/.github/workflows/update-client.yml +++ b/.github/workflows/update-client.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout API-Uniform-Contract repo - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: ${{ secrets.GIT_SECRET }} repository: Arm-Debug/API-Uniform-Contract @@ -44,13 +44,13 @@ jobs: runs-on: ubuntu-latest needs: update-client steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: # So that we have correct GIT_TOKEN to push back to branch as we need workflow permissions token: ${{ secrets.GIT_SECRET }} ref: ${{ inputs.branch || github.head_ref || github.ref }} - name: Checkout Update Go action - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: Arm-Debug/update-go-action ref: refs/tags/latest @@ -75,7 +75,7 @@ jobs: - name: Install continuous-delivery-scripts run: | pip install continuous-delivery-scripts - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: ${{ inputs.branch || github.head_ref || github.ref }} - name: Download all-service-flat artefact @@ -155,7 +155,7 @@ jobs: needs: - build-and-test steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Trigger release if: contains(${{ inputs.branch || github.head_ref || github.ref }} , 'main') run: gh workflow run release.yml -f release_type=release diff --git a/changes/20251121090613.bugfix b/changes/20251121090613.bugfix new file mode 100644 index 00000000..caacefee --- /dev/null +++ b/changes/20251121090613.bugfix @@ -0,0 +1 @@ +Dependency upgrade: checkout-6