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 name: CI - Run CodeQL Analysis
on: on:
push: push:
branches: [main]
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
branches:
- 'main'
pull_request: pull_request:
branches: [main]
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
branches:
- 'main'
permissions: permissions:
contents: read contents: read

View File

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

View File

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

View File

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

View File

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

View File

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