From 07ed6772be39d470e485e1347c644467b0df517e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sat, 18 Sep 2021 13:52:56 +0200 Subject: [PATCH] Pass `PR_NUMBER` to builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- .github/workflows/layered-build.yaml | 2 ++ .github/workflows/typecheck.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/layered-build.yaml b/.github/workflows/layered-build.yaml index c9d7e89a75..c8717667d7 100644 --- a/.github/workflows/layered-build.yaml +++ b/.github/workflows/layered-build.yaml @@ -5,6 +5,8 @@ on: jobs: build: runs-on: ubuntu-latest + env: + PR_NUMBER: ${{github.event.number}} steps: - uses: actions/checkout@v2 - name: Build diff --git a/.github/workflows/typecheck.yaml b/.github/workflows/typecheck.yaml index 2e08418cf6..f6ab643958 100644 --- a/.github/workflows/typecheck.yaml +++ b/.github/workflows/typecheck.yaml @@ -5,6 +5,8 @@ on: jobs: build: runs-on: ubuntu-latest + env: + PR_NUMBER: ${{github.event.number}} steps: - uses: actions/checkout@v2 - uses: c-hive/gha-yarn-cache@v2