From cc213384aeb482fa7d8ae9f97d4b6ec8e3b9c09b Mon Sep 17 00:00:00 2001 From: Antonis Stamatiou Date: Thu, 18 Apr 2024 15:52:59 +0300 Subject: [PATCH] feat: Perform changes related to CI/CD. Prepare plugin for community migration. (#244) --- .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