Skip to content

Check PR commits signed off

Actions
Checks for a sign-off in every commit in a pull request
v1.0.0
Latest
Star (2)

GitHub Action: Check PR commits signed off

Checks for a sign-off in every commit in a pull request and adds a comment if a commit was detected without one.

Inputs

Input Description Default Required
token GitHub token for commenting on PRs, defaults to using secrets.GITHUB_TOKEN ${{ github.token }} false

Outputs

None

Requirements

This action must be triggered from a pull request event: on: [pull_request]. You can also use any pull_request activity type. For information on those activity types, see the GitHub documentation.

Example Usage

name: Find signed commits

on:
  pull_request_target:

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 }}

Check PR commits signed off is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Checks for a sign-off in every commit in a pull request
v1.0.0
Latest

Check PR commits signed off is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.