From 6caab57a2af32823c90dbfb98d603f8a39eb606b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Harper?= Date: Tue, 30 Apr 2024 12:09:51 -0400 Subject: [PATCH] Fix the signing commits check GitHub workflow for PRs from forks I also upgraded the actions/checkout GitHub Action and made the names clearer. --- .github/workflows/check-signed.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-signed.yml b/.github/workflows/check-signed.yml index 822b122..ceea37b 100644 --- a/.github/workflows/check-signed.yml +++ b/.github/workflows/check-signed.yml @@ -1,15 +1,14 @@ --- -name: Check signed commits -on: pull_request +name: Validate if commits are signed +on: [pull_request, pull_request_target] jobs: signed-commits-check: - name: Validate if commits in PR are signed runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v3 + - name: Check out the repository code + uses: actions/checkout@v4.1.4 - - name: Check signed commits in PR + - name: Check if the commits are signed uses: 1Password/check-signed-commits-action@v1