Adjust smoke test trigger

This commit is contained in:
Jason Penilla committed 2025-05-18 21:34:09 -07:00
1 parent f1f38be46f
commit 2f3179cbac
2 files changed
+11 -6

No files matched your search

+3
View File
@@ -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
+8 -6
View File
@@ -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: