From f32449bc37eab9c3325b379e21977664e1d036dc Mon Sep 17 00:00:00 2001 From: emily dela cruz Date: Thu, 3 Oct 2024 10:48:53 -0400 Subject: [PATCH 1/2] Update notification banner for Hacktoberfest announce (#1403) --- site/config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/config.toml b/site/config.toml index 71c8be639e..a39dd2f4a4 100644 --- a/site/config.toml +++ b/site/config.toml @@ -32,8 +32,8 @@ enableEmoji = true [params.notification] enable = true - url = "https://mattermost.com/blog/microsoft-teams-m365-mission-critical-workflows/" - text = "Mattermost v10.0 is now available! Learn what’s new »" + url = "https://mattermost.com/hacktoberfest/" + text = "Hacktoberfest is here! Contribute, collaborate & earn rewards." [params.search] enable = true From d764df8ee0abb3270446667885498c861de8d146 Mon Sep 17 00:00:00 2001 From: Antonis Stamatiou Date: Fri, 4 Oct 2024 16:26:49 +0300 Subject: [PATCH 2/2] feat: Upgrade the way we deploy preview environments from forks (#1407) --- .github/workflows/preview-env-fork.yml | 118 +++++++++++---------- .github/workflows/preview-env-template.yml | 67 ++++++++++++ .github/workflows/preview-env.yml | 44 ++------ 3 files changed, 135 insertions(+), 94 deletions(-) create mode 100644 .github/workflows/preview-env-template.yml diff --git a/.github/workflows/preview-env-fork.yml b/.github/workflows/preview-env-fork.yml index 4c40b19544..cea0e57759 100644 --- a/.github/workflows/preview-env-fork.yml +++ b/.github/workflows/preview-env-fork.yml @@ -1,68 +1,74 @@ name: preview-env-fork-setup-update on: - workflow_run: - workflows: ["check-label-preview-env"] - types: [completed] + workflow_dispatch: + inputs: + PR_NUMBER: + type: string + required: true + TRIGGERING_ACTOR: + type: string + required: true + COMMIT_SHA: + type: string + required: true jobs: - deploy: + update-initial-status: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} - permissions: - pull-requests: write - steps: - - name: Download PR number artifact - uses: dawidd6/action-download-artifact@v2 - with: - workflow: ${{ github.event.workflow_run.workflow_id }} - name: pr.txt - - name: Save PR number - id: pr - run: | - echo "::set-output name=id::$(