From 2934b596523d1bf4f7dd7ea8b6eded7691537ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Harper?= Date: Tue, 30 Apr 2024 11:27:17 -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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-signed.yml b/.github/workflows/check-signed.yml index f110c78..ceea37b 100644 --- a/.github/workflows/check-signed.yml +++ b/.github/workflows/check-signed.yml @@ -1,14 +1,14 @@ --- -name: Validate if commits in PR are signed -on: pull_request +name: Validate if commits are signed +on: [pull_request, pull_request_target] jobs: signed-commits-check: runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v3.5.3 + - 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