chore: update workflows to trigger on push events instead of pull requests
This commit is contained in:
@@ -2,10 +2,7 @@ name: Go Benchmark
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- development
|
||||
- feature/**
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
||||
@@ -10,6 +10,7 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
# Prevent race conditions when PR is updated mid-test
|
||||
# Cancels old test runs when new build completes with different SHA
|
||||
|
||||
@@ -2,9 +2,7 @@ name: Upload Coverage to Codecov
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- development
|
||||
push:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
run_backend:
|
||||
|
||||
@@ -10,6 +10,7 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
# Prevent race conditions when PR is updated mid-test
|
||||
# Cancels old test runs when new build completes with different SHA
|
||||
|
||||
@@ -22,9 +22,7 @@ name: Docker Build, Publish & Test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- development
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
||||
@@ -80,9 +80,7 @@ on:
|
||||
default: false
|
||||
type: boolean
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- development
|
||||
push:
|
||||
|
||||
env:
|
||||
NODE_VERSION: '20'
|
||||
|
||||
@@ -2,7 +2,8 @@ name: Quality Checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main, development ]
|
||||
push:
|
||||
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
@@ -10,6 +10,7 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
# Prevent race conditions when PR is updated mid-test
|
||||
# Cancels old test runs when new build completes with different SHA
|
||||
|
||||
@@ -11,6 +11,8 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
|
||||
concurrency:
|
||||
group: security-pr-${{ github.event.workflow_run.event || github.event_name }}-${{ github.event.workflow_run.head_branch || github.ref }}
|
||||
|
||||
@@ -10,6 +10,7 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
concurrency:
|
||||
group: supply-chain-pr-${{ github.event.workflow_run.event || github.event_name }}-${{ github.event.workflow_run.head_branch || github.ref }}
|
||||
|
||||
@@ -10,6 +10,7 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
# Prevent race conditions when PR is updated mid-test
|
||||
# Cancels old test runs when new build completes with different SHA
|
||||
|
||||
Reference in New Issue
Block a user