mirror of
https://github.com/mattermost/mattermost.git
synced 2026-08-27 05:37:15 -05:00
Tighten CI workflows (#36778)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user