From d799e300909ef86bcc94e0031744c408ca696232 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Fri, 5 Feb 2021 09:04:46 +0100 Subject: [PATCH] chore: let actions/checkout determine the branch by itself (#6821) Hopefully this ensures pull requests coming from forks still get CI checks. Issue: #6818 --- .github/workflows/main.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 91b41eac..8121a54d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,6 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 2 - ref: ${{ github.head_ref }} - name: Set up Node.js uses: actions/setup-node@v1 @@ -87,7 +86,6 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 2 - ref: ${{ github.head_ref }} - name: Set up Node.js uses: actions/setup-node@v1 @@ -122,7 +120,6 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 2 - ref: ${{ github.head_ref }} - name: Set up Node.js uses: actions/setup-node@v1