From 7ebc4f64690aa708a5bab572a0048d9ccba7ee9c Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Mon, 15 Jan 2024 15:05:38 +0700 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20update=20check-pr=20wor?= =?UTF-8?q?kflow=20to=20run=20on=20every=20commit=20in=20pr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/check-pr.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-pr.yaml b/.github/workflows/check-pr.yaml index 574a2100..afbdd468 100644 --- a/.github/workflows/check-pr.yaml +++ b/.github/workflows/check-pr.yaml @@ -1,13 +1,18 @@ name: Check PR + on: pull_request: - types: [opened] branches: [main] + jobs: check-pr: if: github.head_ref != 'release' runs-on: macos-latest steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.9.1 + with: + access_token: ${{ github.token }} - uses: actions/checkout@v4 - uses: Homebrew/actions/setup-homebrew@master - uses: maxim-lobanov/setup-xcode@v1