Merge pull request #346 from prometheus-community/renovate/actions-checkout-4.x

chore(deps): update actions/checkout action to v4
This commit is contained in:
gardar 2024-04-25 14:30:40 +00:00 committed by GitHub
commit 60a860a238
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 10 deletions

View file

@ -24,7 +24,7 @@ jobs:
ansible-lint: ansible-lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Lint collection - name: Lint collection
uses: ansible/ansible-lint@main uses: ansible/ansible-lint@main
@ -34,7 +34,7 @@ jobs:
container: container:
image: quay.io/prometheus/golang-builder:base image: quay.io/prometheus/golang-builder:base
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Lint arguments spec - name: Lint arguments spec
run: ./.github/scripts/lint_arguments_spec.sh run: ./.github/scripts/lint_arguments_spec.sh
@ -43,7 +43,7 @@ jobs:
outputs: outputs:
versions: ${{ steps.supported-ansible-versions.outputs.result }} versions: ${{ steps.supported-ansible-versions.outputs.result }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Get Ansible versions that the collection supports - name: Get Ansible versions that the collection supports
id: supported-ansible-versions id: supported-ansible-versions
@ -66,7 +66,7 @@ jobs:
molecule-tests: ${{ steps.set-molecule-tests.outputs.tests }} molecule-tests: ${{ steps.set-molecule-tests.outputs.tests }}
integration-tests: ${{ steps.set-integration-tests.outputs.tests }} integration-tests: ${{ steps.set-integration-tests.outputs.tests }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0

View file

@ -55,7 +55,7 @@ jobs:
needs: pr-label needs: pr-label
if: github.event.pull_request.labels.length == 0 if: github.event.pull_request.labels.length == 0
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Get changed roles - name: Get changed roles
id: changed-roles id: changed-roles

View file

@ -10,7 +10,7 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: "Install tools" - name: "Install tools"
run: "python -m pip install ansible-base --disable-pip-version-check" run: "python -m pip install ansible-base --disable-pip-version-check"

View file

@ -14,7 +14,7 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
@ -52,7 +52,7 @@ jobs:
push_options: --force push_options: --force
- name: "Checkout updated branch" - name: "Checkout updated branch"
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
ref: ${{ github.event.pull_request.base.ref }} ref: ${{ github.event.pull_request.base.ref }}

View file

@ -16,7 +16,7 @@ jobs:
container: container:
image: quay.io/prometheus/golang-builder:base image: quay.io/prometheus/golang-builder:base
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Get repos for each role - name: Get repos for each role
id: discover id: discover
@ -36,5 +36,5 @@ jobs:
matrix: matrix:
include: ${{ fromJson(needs.discover-role-repos.outputs.role-repos) }} include: ${{ fromJson(needs.discover-role-repos.outputs.role-repos) }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: ./.github/scripts/version_updater.sh ${{ matrix.repo }} ${{ matrix.role }} ${{ matrix.type }} - run: ./.github/scripts/version_updater.sh ${{ matrix.repo }} ${{ matrix.role }} ${{ matrix.type }}