Tighten CI workflows (#36778)

This commit is contained in:
edgarbellot
2026-05-28 18:21:13 +02:00
committed by GitHub
parent 800810e880
commit 42f021581f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
## We only need the condition on the first job
## This will run only when a pull request is created with server changes
update-initial-status:
if: github.repository_owner == 'mattermost' && github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
if: github.repository_owner == 'mattermost' && github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_repository.full_name == github.repository
runs-on: ubuntu-22.04
steps:
- uses: mattermost/actions/delivery/update-commit-status@f324ac89b05cc3511cb06e60642ac2fb829f0a63
+1
View File
@@ -396,6 +396,7 @@ jobs:
make build-cmd
make package
- name: Persist dist artifacts
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: server-dist-artifact