From 12870aae5f5e270042e9abda63d4ee1896acc701 Mon Sep 17 00:00:00 2001 From: Antonis Stamatiou Date: Thu, 18 Apr 2024 15:46:23 +0300 Subject: [PATCH] feat: Perform changes related to CI/CD. Prepare plugin for community migration. (#46) --- .github/workflows/cd.yml | 10 +--------- .github/workflows/ci.yml | 12 +++--------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c929fd9..33307c3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,18 +1,10 @@ name: cd on: - workflow_run: - workflows: ["ci"] - branches-ignore: ["*"] - types: - - completed push: tags: - "v*" -permissions: - contents: read - jobs: plugin-cd: - uses: mattermost/actions-workflows/.github/workflows/plugin-cd.yml@main + uses: mattermost/actions-workflows/.github/workflows/community-plugin-cd.yml@d9defa3e455bdbf889573e112ad8d05b91d66b4c secrets: inherit diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c05ae6..b49d064 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,18 +1,12 @@ name: ci on: - schedule: - - cron: "0 0 * * *" + pull_request: push: branches: - master - tags: - - "v*" - pull_request: - -permissions: - contents: read + - main jobs: plugin-ci: - uses: mattermost/actions-workflows/.github/workflows/plugin-ci.yml@main + uses: mattermost/actions-workflows/.github/workflows/community-plugin-ci.yml@139a051e8651e6246e3764fe342297b73120e590 secrets: inherit