From 8163de9584ed35fb6e623fa164427f02df15cfdc Mon Sep 17 00:00:00 2001 From: Roy Hyunjin Han Date: Wed, 22 May 2024 12:50:28 -0400 Subject: [PATCH] Gosh darn it --- .github/workflows/test.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 56a1ebc..34b3e64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,21 +2,23 @@ name: Validate CSV on: pull_request: - branches: - - main + types: + - labeled + - unlabeled push: branches: - main permissions: contents: write + pull-requests: write jobs: test-build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - uses: actions/setup-python@v5 with: python-version: "3.12"