Revise GHA workflows for prototyping (#367)

Changed the GHA workflows to:
- Not run `build` and `release` workflows for PRs that only affect `prototyping/`
- Run `prototyping` workflow when PRs affect `Analysis/**`, `Ast/**`, or the `luau-ast` source files
This commit is contained in:
Lily Brown 2022-02-15 14:24:51 -08:00 committed by GitHub
parent f0c9d84461
commit c8d6dc2758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View File

@ -9,12 +9,14 @@ on:
- 'papers/**' - 'papers/**'
- 'rfcs/**' - 'rfcs/**'
- '*.md' - '*.md'
- 'prototyping/**'
pull_request: pull_request:
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
- 'papers/**' - 'papers/**'
- 'rfcs/**' - 'rfcs/**'
- '*.md' - '*.md'
- 'prototyping/**'
jobs: jobs:
unix: unix:

View File

@ -8,12 +8,18 @@ on:
paths: paths:
- '.github/workflows/**' - '.github/workflows/**'
- 'prototyping/**' - 'prototyping/**'
- 'Analysis/src/JsonEncoder.cpp' - 'Analysis/**'
- 'Ast/**'
- 'CLI/Ast.cpp'
- 'CLI/FileUtils.*'
pull_request: pull_request:
paths: paths:
- '.github/workflows/**' - '.github/workflows/**'
- 'prototyping/**' - 'prototyping/**'
- 'Analysis/src/JsonEncoder.cpp' - 'Analysis/**'
- 'Ast/**'
- 'CLI/Ast.cpp'
- 'CLI/FileUtils.*'
jobs: jobs:
linux: linux:

View File

@ -9,6 +9,7 @@ on:
- 'papers/**' - 'papers/**'
- 'rfcs/**' - 'rfcs/**'
- '*.md' - '*.md'
- 'prototyping/**'
jobs: jobs:
build: build: