From 44e85c3a60b24d385c43e51c89b4d1008f151fca Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 19 Sep 2022 21:07:04 +0200 Subject: [PATCH] Try to run reuse workflow without explicitly allowing it for new contributors. (#5296) --- .github/workflows/reuse.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index a63b325f6c..8467668f10 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -8,7 +8,8 @@ name: Verify REUSE on: push: branches: [main] - pull_request: + pull_request_target: + types: [opened, synchronize, reopened] branches: [main] # Run CI once per day (at 07:30 UTC) schedule: @@ -21,7 +22,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha || '' }} - name: Install dependencies run: |