From 0044f2ebde42aba7634a707d09df0dd1e623f437 Mon Sep 17 00:00:00 2001 From: Antonis Stamatiou Date: Thu, 11 Apr 2024 13:12:36 +0300 Subject: [PATCH 1/4] feat: Perform changes related to CI/CD. Prepare plugin for community migration. --- .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..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 From 390e870d40bbe8f1c8e1d04336b3ebf171518c25 Mon Sep 17 00:00:00 2001 From: Antonis Stamatiou Date: Thu, 11 Apr 2024 15:12:31 +0300 Subject: [PATCH 2/4] feat: Pin reusable actions commit hash --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ff10fc5..34bf5d3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -6,5 +6,5 @@ on: jobs: plugin-cd: - uses: mattermost/actions-workflows/.github/workflows/community-plugin-cd.yml@main + uses: mattermost/actions-workflows/.github/workflows/community-plugin-cd.yml@139a051e8651e6246e3764fe342297b73120e590 secrets: inherit diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49ced06..b49d064 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,5 +8,5 @@ on: jobs: plugin-ci: - uses: mattermost/actions-workflows/.github/workflows/community-plugin-ci.yml@main + uses: mattermost/actions-workflows/.github/workflows/community-plugin-ci.yml@139a051e8651e6246e3764fe342297b73120e590 secrets: inherit From a7151feac774e2e597e6bab5a29895455dbec0a2 Mon Sep 17 00:00:00 2001 From: Antonis Stamatiou Date: Fri, 12 Apr 2024 13:50:27 +0300 Subject: [PATCH 3/4] feat: Update community plugin cd action --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 34bf5d3..33307c3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -6,5 +6,5 @@ on: jobs: plugin-cd: - uses: mattermost/actions-workflows/.github/workflows/community-plugin-cd.yml@139a051e8651e6246e3764fe342297b73120e590 + uses: mattermost/actions-workflows/.github/workflows/community-plugin-cd.yml@d9defa3e455bdbf889573e112ad8d05b91d66b4c secrets: inherit From 77d27f2a302601e7e676f653acac0470275f97f3 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Thu, 18 Apr 2024 13:32:12 +0200 Subject: [PATCH 4/4] trigger CI