1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-10 06:16:53 -05:00

Refine GitHub workflows running condition (#447)

This commit is contained in:
Loyalsoldier 2020-11-23 20:51:58 +08:00 committed by GitHub
parent cfe5de7b97
commit 7acf515258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 10 deletions

View File

@ -2,16 +2,15 @@ name: CodeQL
on: on:
push: push:
branches: [master] branches:
- master
- v*
paths: paths:
- "**/*.go" - "**/*.go"
pull_request: pull_request:
branches: [master]
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths: paths:
- "**/*.go" - "**/*.go"
schedule:
- cron: '0 0 * * 1'
jobs: jobs:
analyze: analyze:

View File

@ -2,7 +2,9 @@ name: Coverage
on: on:
push: push:
branches: [master] branches:
- master
- v*
paths: paths:
- "**/*.go" - "**/*.go"

View File

@ -2,7 +2,9 @@ name: Build debian packages
on: on:
push: push:
branches: [master] branches:
- master
- v*
paths: paths:
- "**/*.go" - "**/*.go"
release: release:

View File

@ -2,11 +2,12 @@ name: Linter
on: on:
push: push:
branches: [master] branches:
- master
- v*
paths: paths:
- "**/*.go" - "**/*.go"
pull_request: pull_request:
branches: [master]
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths: paths:
- "**/*.go" - "**/*.go"

View File

@ -2,13 +2,14 @@ name: Test
on: on:
push: push:
branches: [master] branches:
- master
- v*
paths: paths:
- "**/*.go" - "**/*.go"
- "go.mod" - "go.mod"
- "go.sum" - "go.sum"
pull_request: pull_request:
branches: [master]
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths: paths:
- "**/*.go" - "**/*.go"