Fix the signing commits check GitHub workflow for PRs from forks

I also upgraded the actions/checkout GitHub Action and made the names clearer.
This commit is contained in:
Frédéric Harper
2024-04-30 11:37:17 -04:00
parent 20fcfc21e8
commit f270d226f5

View File

@@ -1,14 +1,14 @@
---
name: Validate if commits in PR are signed
on: pull_request_target
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