mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +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:
|
release:
|
||||||
types: [ published ]
|
types: [ published ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}-actions
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# Only run on PRs if the source branch is on someone else's repo
|
# Only run on PRs if the source branch is on someone else's repo
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
name: Smoke test
|
name: Smoke test
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
push:
|
||||||
workflows: ["Build"] # This should match the exact name in build.yml
|
branches: [ "**" ]
|
||||||
types:
|
tags: [ "v**" ]
|
||||||
- completed
|
pull_request:
|
||||||
|
release:
|
||||||
|
types: [ published ]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: smoke-test-${{ github.event.workflow_run.id }}
|
group: ${{ github.ref }}-actions
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
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
|
runs-on: ubuntu-latest
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
|
|||||||
Reference in new issue
Block a user