From fff0dab18b1d58a19c4e5bff4091803c7aa8973b Mon Sep 17 00:00:00 2001 From: NSMBot Date: Fri, 19 Apr 2024 10:43:40 +0000 Subject: [PATCH] Sync files with networkservicemesh/cmd-template This PR syncs files with https://github.com/networkservicemesh/cmd-template Revision: https://github.com/networkservicemesh/cmd-template/commits/b06b95264e7c9af33c7061aefb42b0e9f54fd3b0 commit b06b95264e7c9af33c7061aefb42b0e9f54fd3b0 Author: Arpad Kiss <158226216+arp-est@users.noreply.github.com> Date: Fri Apr 19 12:42:49 2024 +0200 Add env-check to ci.yaml (#131) Signed-off-by: Arpad Kiss Signed-off-by: NSMBot --- .github/workflows/ci.yaml | 5 +++++ .github/workflows/update-deployments.yaml | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fb87d16..cbce200 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,6 +15,11 @@ jobs: shellcheck: uses: networkservicemesh/.github/.github/workflows/shellcheck.yaml@main + check-env: + uses: networkservicemesh/.github/.github/workflows/env-check.yaml@main + with: + prefix: "NSM_" + golangci-lint: uses: networkservicemesh/.github/.github/workflows/golangci-lint.yaml@main diff --git a/.github/workflows/update-deployments.yaml b/.github/workflows/update-deployments.yaml index de1d4a1..5925bed 100644 --- a/.github/workflows/update-deployments.yaml +++ b/.github/workflows/update-deployments.yaml @@ -4,14 +4,9 @@ on: push: branches: - main - workflow_run: - types: - - completed - workflows: - - 'automerge' jobs: update-deployments-k8s: - if: ${{ github.repository != 'networkservicemesh/cmd-template' && (github.event.workflow_run.conclusion == 'success' && github.actor == 'nsmbot' || github.event_name == 'push') }} + if: ${{ github.repository != 'networkservicemesh/cmd-template' }} uses: networkservicemesh/.github/.github/workflows/update-deployments.yaml@main secrets: token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}