mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
Added a workflow to check the commit messages of a PR to make sure each is signed off by the author. A repo token is required, here named SECRET_TOKEN, which has access to read and write PR comments. Signed-off-by: JSOwens <josephs.owens@gmail.com>
16 lines
296 B
YAML
16 lines
296 B
YAML
name: Check PR Sign-off
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
check-sign-off:
|
|
name: Write comment if unsigned commits found
|
|
env:
|
|
FORCE_COLOR: 1
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: live627/check-pr-signoff-action@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|