diff --git a/.github/workflows/frontend-build.yml b/.github/workflows/frontend-build.yml index 1f32a977d..d8cf34f4b 100644 --- a/.github/workflows/frontend-build.yml +++ b/.github/workflows/frontend-build.yml @@ -1,13 +1,13 @@ -name: Build Test +name: Sanity Checks on: push: branches: [master] pull_request: branches: [master, release*] + workflow_call: jobs: - build-test: - name: resolve-dependencies + sanity-checks: runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/on-pr-edit.yml b/.github/workflows/on-pr-edit.yml new file mode 100644 index 000000000..b0b68b8cc --- /dev/null +++ b/.github/workflows/on-pr-edit.yml @@ -0,0 +1,10 @@ +name: On PR edit +on: + pull_request: + types: [edited] + +jobs: + run-sanity-checks: + # Only if base branch has been changed. + if: github.event.changes.base.ref.from && github.event.changes.base.ref.from != github.event.pull_request.base.ref + uses: ./.github/workflows/frontend-build.yml