Fix PR_NUMBER env variable
This commit is contained in:
parent
61f8ec5e10
commit
dab1488ffe
4 changed files with 10 additions and 10 deletions
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -20,7 +20,7 @@ on:
|
||||||
required: true
|
required: true
|
||||||
env:
|
env:
|
||||||
# This must be set for fetchdep.sh to get the right branch
|
# This must be set for fetchdep.sh to get the right branch
|
||||||
PR_NUMBER: ${{ github.event.pull_requests.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: "Build"
|
name: "Build"
|
||||||
|
|
6
.github/workflows/build_develop.yaml
vendored
6
.github/workflows/build_develop.yaml
vendored
|
@ -6,14 +6,14 @@ on:
|
||||||
branches: [ develop ]
|
branches: [ develop ]
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [ element-web-notify ]
|
types: [ element-web-notify ]
|
||||||
|
env:
|
||||||
|
# This must be set for fetchdep.sh to get the right branch
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: "Build"
|
name: "Build"
|
||||||
environment: develop
|
environment: develop
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
# This must be set for fetchdep.sh to get the right branch
|
|
||||||
PR_NUMBER: ${{github.event.number}}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: ./.github/workflows/build
|
- uses: ./.github/workflows/build
|
||||||
secrets:
|
secrets:
|
||||||
|
|
6
.github/workflows/static_analysis.yaml
vendored
6
.github/workflows/static_analysis.yaml
vendored
|
@ -5,13 +5,13 @@ on:
|
||||||
branches: [ develop, master ]
|
branches: [ develop, master ]
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [ element-web-notify ]
|
types: [ element-web-notify ]
|
||||||
|
env:
|
||||||
|
# This must be set for fetchdep.sh to get the right branch
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
jobs:
|
jobs:
|
||||||
ts_lint:
|
ts_lint:
|
||||||
name: "Typescript Syntax Check"
|
name: "Typescript Syntax Check"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
# This must be set for fetchdep.sh to get the right branch
|
|
||||||
PR_NUMBER: ${{github.event.number}}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
|
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
|
@ -5,13 +5,13 @@ on:
|
||||||
branches: [ master, develop ]
|
branches: [ master, develop ]
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [ element-web-notify ]
|
types: [ element-web-notify ]
|
||||||
|
env:
|
||||||
|
# This must be set for fetchdep.sh to get the right branch
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: "Test"
|
name: "Test"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
# This must be set for fetchdep.sh to get the right branch
|
|
||||||
PR_NUMBER: ${{github.event.number}}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue