From 87755d6994e902d5bfaf41b426ed966fc63811dd Mon Sep 17 00:00:00 2001 From: Ibrahim Serdar Acikgoz Date: Thu, 2 Mar 2023 18:07:08 +0300 Subject: [PATCH] add sentry org to the env vars (#22416) --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36665a43fc..92e43749e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -265,7 +265,7 @@ jobs: env: DOCKER_CLI_EXPERIMENTAL: enabled run: | - export TAG=$(echo "${{ github.event.pull_request.head.sha }}" | cut -c1-7) + export TAG=$(echo "${{ github.event.pull_request.head.sha || github.sha }}" | cut -c1-7) cd build export DOCKER_CLI_EXPERIMENTAL=enabled export MM_PACKAGE=https://pr-builds.mattermost.com/mattermost-server/commit/${GITHUB_SHA}/mattermost-team-linux-amd64.tar.gz @@ -277,9 +277,10 @@ jobs: - test-postgres-binary - test-postgres-normal - test-mysql - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' }} env: SENTRY_CLI_VERSION: 1.64.1 + SENTRY_ORG: mattermost-mr steps: - name: Checkout mattermost-server uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0