From 9baa77518394fdb0589869172efbb684680c4476 Mon Sep 17 00:00:00 2001 From: Nick Satterly Date: Sun, 7 Nov 2021 18:29:47 +0100 Subject: [PATCH] Check out correct commit --- .github/workflows/test.yml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 739f9879..96a20f46 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,33 +1,10 @@ name: "build-test" on: # rebuild any PRs and main branch changes - check_run: - check_suite: - create: - delete: - deployment: - deployment_status: - fork: - gollum: - issue_comment: - issues: - label: - milestone: - page_build: - project: - project_card: - project_column: - public: pull_request: - pull_request_review: - pull_request_review_comment: push: # branches: # - master # - 'releases/*' - registry_package: - release: - status: - watch: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} @@ -48,6 +25,8 @@ jobs: steps: - id: checkout uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} - uses: ./ with: status: starting @@ -82,6 +61,8 @@ jobs: steps: - id: checkout uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} - id: build run: | npm install