From d113edc740a8610a10b93fe2b084b30b448a113e Mon Sep 17 00:00:00 2001 From: Leon <82407168+sed-i@users.noreply.github.com> Date: Fri, 1 Mar 2024 03:39:02 -0500 Subject: [PATCH] Bump action versions (#148) * Bump action versions * Bump action versions --- .github/workflows/_charm-codeql-analysis.yml | 2 +- .github/workflows/_charm-linting.yaml | 2 +- .github/workflows/_charm-quality-checks.yaml | 2 +- .github/workflows/_charm-release.yaml | 8 ++++---- .github/workflows/_charm-static-analysis.yaml | 4 ++-- .github/workflows/_charm-tests-integration.yaml | 2 +- .github/workflows/_charm-tests-scenario.yaml | 2 +- .github/workflows/_charm-tests-unit.yaml | 2 +- .github/workflows/_rock-build-test.yaml | 2 +- .github/workflows/charm-promote.yaml | 2 +- .github/workflows/charm-pull-request.yaml | 2 +- .github/workflows/charm-release.yaml | 2 +- .github/workflows/charm-update-libs.yaml | 4 ++-- .github/workflows/rock-release-dev.yaml | 2 +- .github/workflows/rock-release-oci-factory.yaml | 4 ++-- .github/workflows/rock-update.yaml | 6 +++--- 16 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/_charm-codeql-analysis.yml b/.github/workflows/_charm-codeql-analysis.yml index c23f5b8..8cdeddb 100644 --- a/.github/workflows/_charm-codeql-analysis.yml +++ b/.github/workflows/_charm-codeql-analysis.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/_charm-linting.yaml b/.github/workflows/_charm-linting.yaml index 33ba6f9..12b6da3 100644 --- a/.github/workflows/_charm-linting.yaml +++ b/.github/workflows/_charm-linting.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Setup Python diff --git a/.github/workflows/_charm-quality-checks.yaml b/.github/workflows/_charm-quality-checks.yaml index 54050bf..7835814 100644 --- a/.github/workflows/_charm-quality-checks.yaml +++ b/.github/workflows/_charm-quality-checks.yaml @@ -46,7 +46,7 @@ jobs: if: needs.check-secret.outputs.defined == 'true' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Check charm libraries # Make sure our charm libraries are updated diff --git a/.github/workflows/_charm-release.yaml b/.github/workflows/_charm-release.yaml index e32bcdd..13db1a3 100644 --- a/.github/workflows/_charm-release.yaml +++ b/.github/workflows/_charm-release.yaml @@ -31,7 +31,7 @@ jobs: charms: ${{ steps.builder.outputs.charms }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Setup LXD @@ -71,7 +71,7 @@ jobs: charms: ${{ steps.builder.outputs.charms }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Download Artifact @@ -123,7 +123,7 @@ jobs: path: ${{ fromjson(needs.build.outputs.charms) }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Select charmhub channel @@ -153,7 +153,7 @@ jobs: path: ${{ fromjson(needs.build-arm.outputs.charms) }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Select charmhub channel diff --git a/.github/workflows/_charm-static-analysis.yaml b/.github/workflows/_charm-static-analysis.yaml index be3142f..71adc33 100644 --- a/.github/workflows/_charm-static-analysis.yaml +++ b/.github/workflows/_charm-static-analysis.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Set up Python 3.8 @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Set up Python 3.8 diff --git a/.github/workflows/_charm-tests-integration.yaml b/.github/workflows/_charm-tests-integration.yaml index 5d6f0b3..5af2683 100644 --- a/.github/workflows/_charm-tests-integration.yaml +++ b/.github/workflows/_charm-tests-integration.yaml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Get IP range diff --git a/.github/workflows/_charm-tests-scenario.yaml b/.github/workflows/_charm-tests-scenario.yaml index 293ceb3..f3eb387 100644 --- a/.github/workflows/_charm-tests-scenario.yaml +++ b/.github/workflows/_charm-tests-scenario.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Set up python diff --git a/.github/workflows/_charm-tests-unit.yaml b/.github/workflows/_charm-tests-unit.yaml index e6bc350..863bfe9 100644 --- a/.github/workflows/_charm-tests-unit.yaml +++ b/.github/workflows/_charm-tests-unit.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Set up python diff --git a/.github/workflows/_rock-build-test.yaml b/.github/workflows/_rock-build-test.yaml index 30a0ec9..3c29615 100644 --- a/.github/workflows/_rock-build-test.yaml +++ b/.github/workflows/_rock-build-test.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Determine any rockcraft.yaml changed in the PR id: changed-files diff --git a/.github/workflows/charm-promote.yaml b/.github/workflows/charm-promote.yaml index 6d7f685..1b9ef8e 100644 --- a/.github/workflows/charm-promote.yaml +++ b/.github/workflows/charm-promote.yaml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set target channel env: PROMOTE_FROM: ${{ github.event.inputs.promotion }} diff --git a/.github/workflows/charm-pull-request.yaml b/.github/workflows/charm-pull-request.yaml index cedde80..72e070c 100644 --- a/.github/workflows/charm-pull-request.yaml +++ b/.github/workflows/charm-pull-request.yaml @@ -31,7 +31,7 @@ jobs: any_modified: ${{ steps.echo-changes.outputs.any_modified }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} # To be compatible with PRs from forks fetch-depth: 0 diff --git a/.github/workflows/charm-release.yaml b/.github/workflows/charm-release.yaml index 3945c55..9b3b220 100644 --- a/.github/workflows/charm-release.yaml +++ b/.github/workflows/charm-release.yaml @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 path: charm diff --git a/.github/workflows/charm-update-libs.yaml b/.github/workflows/charm-update-libs.yaml index a28e0c3..8aaf6c8 100644 --- a/.github/workflows/charm-update-libs.yaml +++ b/.github/workflows/charm-update-libs.yaml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 # v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -36,7 +36,7 @@ jobs: CHARMCRAFT_AUTH: "${{ secrets.CHARMHUB_TOKEN }}" - name: Create a PR for local changes - uses: peter-evans/create-pull-request@v4.2.3 + uses: peter-evans/create-pull-request@v6 id: cpr with: token: ${{ secrets.OBSERVABILITY_NOCTUA_TOKEN }} diff --git a/.github/workflows/rock-release-dev.yaml b/.github/workflows/rock-release-dev.yaml index e35961d..8cfeea3 100644 --- a/.github/workflows/rock-release-dev.yaml +++ b/.github/workflows/rock-release-dev.yaml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Find the *latest* rockcraft.yaml id: find-latest diff --git a/.github/workflows/rock-release-oci-factory.yaml b/.github/workflows/rock-release-oci-factory.yaml index 7703e7b..36a7499 100644 --- a/.github/workflows/rock-release-oci-factory.yaml +++ b/.github/workflows/rock-release-oci-factory.yaml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the ROCK source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 path: rock @@ -56,7 +56,7 @@ jobs: - name: Clone the fork id: fork-clone if: steps.changed-files.outputs.all_changed_and_modified_files != '' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: oci-factory repository: observability-noctua-bot/oci-factory diff --git a/.github/workflows/rock-update.yaml b/.github/workflows/rock-update.yaml index 76bedb1..5a99172 100644 --- a/.github/workflows/rock-update.yaml +++ b/.github/workflows/rock-update.yaml @@ -52,7 +52,7 @@ jobs: echo "release=$TAG" >> $GITHUB_OUTPUT - name: Checkout the ROCK source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: main @@ -75,7 +75,7 @@ jobs: - name: Checkout application source for the Go version check if: inputs.check-go && steps.check.outputs.release != '' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ inputs.source-repo }} ref: ${{ steps.check.outputs.release }} @@ -119,7 +119,7 @@ jobs: - name: Create a PR if: steps.check.outputs.release != '' - uses: peter-evans/create-pull-request@v4.2.3 + uses: peter-evans/create-pull-request@v6 with: path: main token: ${{ secrets.GITHUB_TOKEN }}