From 31fe6b288a8718f3533b5d5137f5f9ebd726dac5 Mon Sep 17 00:00:00 2001 From: Guillaume Belanger Date: Mon, 15 Apr 2024 07:38:45 -0400 Subject: [PATCH] chore: use release version of sdcore github workflows --- .github/workflows/dependabot_pr.yaml | 2 +- .github/workflows/issues.yaml | 2 +- .github/workflows/main.yaml | 18 +++++++++--------- .github/workflows/promote.yaml | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dependabot_pr.yaml b/.github/workflows/dependabot_pr.yaml index e883ce5..528785b 100644 --- a/.github/workflows/dependabot_pr.yaml +++ b/.github/workflows/dependabot_pr.yaml @@ -9,4 +9,4 @@ permissions: jobs: auto-merge: - uses: canonical/sdcore-github-workflows/.github/workflows/dependabot_pr.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/dependabot_pr.yaml@v0.0.1 diff --git a/.github/workflows/issues.yaml b/.github/workflows/issues.yaml index 518a665..f38c29f 100644 --- a/.github/workflows/issues.yaml +++ b/.github/workflows/issues.yaml @@ -7,6 +7,6 @@ on: jobs: update: name: Update Issue - uses: canonical/sdcore-github-workflows/.github/workflows/issues.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/issues.yaml@v0.0.1 secrets: JIRA_URL: ${{ secrets.JIRA_URL }} diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3cc8106..d5f428a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,25 +10,25 @@ on: jobs: check-libraries: - uses: canonical/sdcore-github-workflows/.github/workflows/check-libraries.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/check-libraries.yaml@v0.0.1 secrets: CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} lint-report: - uses: canonical/sdcore-github-workflows/.github/workflows/lint-report.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/lint-report.yaml@v0.0.1 terraform-check: - uses: canonical/sdcore-github-workflows/.github/workflows/terraform.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/terraform.yaml@v0.0.1 static-analysis: - uses: canonical/sdcore-github-workflows/.github/workflows/static-analysis.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/static-analysis.yaml@v0.0.1 unit-tests-with-coverage: - uses: canonical/sdcore-github-workflows/.github/workflows/unit-test.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/unit-test.yaml@v0.0.1 integration-test: - uses: canonical/sdcore-github-workflows/.github/workflows/integration-test.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/integration-test.yaml@v0.0.1 with: charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm" @@ -40,7 +40,7 @@ jobs: - unit-tests-with-coverage - integration-test if: ${{ github.ref_name == 'main' }} - uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@v0.0.1 with: charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm" track-name: 1.4 @@ -55,7 +55,7 @@ jobs: - unit-tests-with-coverage - integration-test if: ${{ (github.ref_name != 'main') && (github.event_name == 'push') }} - uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@v0.0.1 with: branch-name: ${{ github.ref_name }} charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm" @@ -82,7 +82,7 @@ jobs: - publish-charm - lib-needs-publishing if: ${{ github.ref_name == 'main' }} && ${{ needs.changes.outputs.needs-publishing == 'true' }} - uses: canonical/sdcore-github-workflows/.github/workflows/publish-lib.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/publish-lib.yaml@v0.0.1 with: lib-name: "charms.sdcore_nrf_k8s.v0.fiveg_nrf" secrets: diff --git a/.github/workflows/promote.yaml b/.github/workflows/promote.yaml index 1ca5391..429e85b 100644 --- a/.github/workflows/promote.yaml +++ b/.github/workflows/promote.yaml @@ -21,7 +21,7 @@ on: jobs: promote: name: Promote Charm - uses: canonical/sdcore-github-workflows/.github/workflows/promote.yaml@main + uses: canonical/sdcore-github-workflows/.github/workflows/promote.yaml@v0.0.1 with: promotion: ${{ github.event.inputs.promotion }} track-name: ${{ github.event.inputs.track-name }}