mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Adjust smoke test trigger
This commit is contained in:
2 files changed
+11
-6
No files matched your search
@@ -7,6 +7,9 @@ on:
|
||||
release:
|
||||
types: [ published ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}-actions
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# Only run on PRs if the source branch is on someone else's repo
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
name: Smoke test
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Build"] # This should match the exact name in build.yml
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
branches: [ "**" ]
|
||||
tags: [ "v**" ]
|
||||
pull_request:
|
||||
release:
|
||||
types: [ published ]
|
||||
|
||||
concurrency:
|
||||
group: smoke-test-${{ github.event.workflow_run.id }}
|
||||
group: ${{ github.ref }}-actions
|
||||
|
||||
jobs:
|
||||
check:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
if: ${{ (github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name) && (github.event.name != 'push' || !startsWith(github.ref, 'refs/tags/') || contains(github.ref, '-beta.')) }}
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
postgres:
|
||||
|
||||
Reference in new issue
Block a user