mirror of
https://github.com/jlengrand/coffeechat.git
synced 2026-03-10 08:11:20 +00:00
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:
10
.github/workflows/check-signed.yml
vendored
10
.github/workflows/check-signed.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user