diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c929fd9..ff10fc5 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@main secrets: inherit diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c05ae6..49ced06 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@main secrets: inherit