Fix PR_NUMBER env variable

This commit is contained in:
Michael Telatynski
2022-04-27 22:43:51 +01:00
parent 61f8ec5e10
commit dab1488ffe
4 changed files with 10 additions and 10 deletions

View File

@@ -6,14 +6,14 @@ on:
branches: [ develop ]
repository_dispatch:
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:
build:
name: "Build"
environment: develop
runs-on: ubuntu-latest
env:
# This must be set for fetchdep.sh to get the right branch
PR_NUMBER: ${{github.event.number}}
steps:
- uses: ./.github/workflows/build
secrets: