From 7c7919fd8e5c3ea47985c438dcbca72f1dc1e71b Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Sat, 11 Feb 2023 10:42:18 +0100 Subject: [PATCH] [SC64] Fix PR building --- .github/workflows/{main.yml => build.yml} | 8 ++++---- .github/workflows/pull-request.yml | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) rename .github/workflows/{main.yml => build.yml} (96%) create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/main.yml b/.github/workflows/build.yml similarity index 96% rename from .github/workflows/main.yml rename to .github/workflows/build.yml index 708ec6a..6048ed1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/build.yml @@ -4,12 +4,12 @@ on: push: branches: - main - pull_request: - branches: - - main release: types: - created + workflow_run: + workflows: + - pull-request workflow_dispatch: jobs: @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v2 with: submodules: true - + - name: Prepare Lattice Diamond license env: ENCODED_LICENSE: ${{ secrets.LATTICE_DIAMOND_LICENSE }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..04b321d --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,14 @@ +name: pull-request + +on: + pull_request: + branches: + - main + +jobs: + trigger-pull-request-build: + runs-on: ubuntu-latest + + steps: + - name: Trigger PR build + run: echo "Triggering \"${{ github.event.pull_request.title }}\" build"