Skip to content

Commit 0b15377

Browse files
mergify[bot]dependabot[bot]pkoutsovasilis
authored
[9.0] (backport #9413) build(deps): bump actions/checkout from 4 to 5 (#9431)
* build(deps): bump actions/checkout from 4 to 5 (#9413) Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit 85e5eaf) # Conflicts: # .github/workflows/bump-vm-images.yml # .github/workflows/catalog-info.yml * fix: resolve conflicts --------- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Panos Koutsovasilis <[email protected]>
1 parent f0f3fd9 commit 0b15377

9 files changed

+17
-10
lines changed

.github/workflows/bump-agent-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
matrix: ${{ fromJson(needs.filter.outputs.matrix) }}
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v5
3232
with:
3333
ref: "${{ matrix.branch }}"
3434

.github/workflows/bump-beats-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix: ${{ fromJson(needs.filter.outputs.matrix) }}
3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
4141
with:
4242
ref: ${{ matrix.branch }}
4343

.github/workflows/bump-golang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
pull-requests: write
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323

2424
- uses: elastic/oblt-actions/updatecli/run@v1
2525
with:

.github/workflows/bump-otel-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
matrix:
2323
branch: ["main", "8.19"]
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v5
2626

2727
- name: Set up Go
2828
uses: actions/setup-go@v5

.github/workflows/bump-vm-images.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@ jobs:
4040
fail-fast: false
4141
matrix: ${{ fromJson(needs.filter.outputs.matrix) }}
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
44+
with:
45+
# NOTE: as long as the updatecli bump differs between branches, we need to
46+
# checkout the branch that we are going to bump that we are going to bump
47+
# this is needed to ensure that the updatecli bump is done against the correct updatecli
48+
# pipeline. For instance, https://github.com/elastic/elastic-agent/pull/8035 was not
49+
# backported to the short lived branches.
50+
ref: ${{ matrix.branch }}
4451

4552
- uses: elastic/oblt-actions/updatecli/run@v1
4653
with:
@@ -55,4 +62,4 @@ jobs:
5562
with:
5663
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
5764
channel-id: "#ingest-notifications"
58-
message: ":traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, @robots-ci please look what's going on <${{ env.JOB_URL }}|here>"
65+
message: ":traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`[${{ matrix.branch }}], @robots-ci please look what's going on <${{ env.JOB_URL }}|here>"

.github/workflows/fragment-in-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
if: "!contains(github.event.pull_request.labels.*.name, 'skip-changelog') && !contains(github.event.pull_request.labels.*.name, 'backport')"
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212
- uses: actions/setup-go@v5
1313
with:
1414
go-version-file: .go-version

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: lint
1919
runs-on: ${{ matrix.os }}
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222

2323
- uses: actions/setup-go@v5
2424
with:

.github/workflows/post-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
contents: write
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020

2121
- uses: actions/setup-go@v5
2222
with:

.github/workflows/updatecli-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
packages: read
1818
pull-requests: write
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121

2222
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
2323
with:

0 commit comments

Comments
 (0)