mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
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:
parent
f0c9d84461
commit
c8d6dc2758
3 changed files with 11 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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:
|
||||||
|
|
10
.github/workflows/prototyping.yml
vendored
10
.github/workflows/prototyping.yml
vendored
|
@ -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:
|
||||||
|
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -9,6 +9,7 @@ on:
|
||||||
- 'papers/**'
|
- 'papers/**'
|
||||||
- 'rfcs/**'
|
- 'rfcs/**'
|
||||||
- '*.md'
|
- '*.md'
|
||||||
|
- 'prototyping/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Add table
Reference in a new issue