fix: update github actions trigger configs (#49328)

pull/49369/head
Mrugesh Mohapatra 2023-02-13 16:56:48 +05:30 committed by GitHub
parent f2a4f58911
commit 51217a62db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 18 deletions

View File

@ -1,13 +1,15 @@
name: CI - Run CodeQL Analysis
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'
branches:
- 'main'
pull_request:
branches: [main]
paths-ignore:
- 'docs/**'
branches:
- 'main'
permissions:
contents: read

View File

@ -4,11 +4,14 @@ on:
# push:
# paths-ignore:
# - 'docs/**'
# branches-ignore:
# - 'renovate/**'
# branches:
# - 'main'
# pull_request:
# paths-ignore:
# - 'docs/**'
# branches:
# - 'main'
# - 'next-**'
jobs:
mobile-test:

View File

@ -5,7 +5,7 @@ name: CI - E2E - 3rd party donation tests
on:
push:
branches:
- 'prod-*'
- 'prod-**'
paths-ignore:
- 'docs/**'

View File

@ -3,14 +3,14 @@ on:
push:
paths-ignore:
- 'docs/**'
branches-ignore:
- 'renovate/**'
- 'next-api'
branches:
- 'main'
pull_request:
paths-ignore:
- 'docs/**'
branches-ignore:
- 'next-api'
branches:
- 'main'
- 'next-**'
jobs:
build-client:

View File

@ -2,14 +2,20 @@ name: CI - Node.js Test Upcoming
env:
NODE_OPTIONS: '--max_old_space_size=6144'
on:
# Run on push events, but only for the below branches
push:
branches:
# Treat the below branches as special case for working on workflows
- actions-**
- upcoming-**
- 'main'
- 'prod-**'
# Run on pull requests, but only for the below targets
pull_request:
branches:
- 'main'
- 'next-**'
schedule:
# run this Action every 14 days
- cron: '0 * */14 * *'
# Run on demand
workflow_dispatch:
permissions:

View File

@ -1,14 +1,21 @@
name: CI - Node.js Test Current
env:
NODE_OPTIONS: '--max_old_space_size=6144'
on:
# Run on push events, but only for the below branches
push:
branches-ignore:
- 'renovate/**'
- 'next-api'
branches:
- 'main'
- 'prod-**'
# Run on pull requests, but only for the below targets
pull_request:
branches-ignore:
- 'next-api'
branches:
- 'main'
- 'next-**'
# Run on Merge Queue
merge_group:
types: [checks_requested]
permissions:
contents: read