mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-09 08:46:54 +00:00
For any event that is not of type `pull_request`, we consider there will be a `GITHBU_SHA` defined and run lint against only this specific commit sha. This supports not only events of type `pull` but also other events that provide us a `GITHBU_SHA`, like `check_suite`.
11 lines
189 B
YAML
11 lines
189 B
YAML
name: Test
|
|
on: [push]
|
|
|
|
jobs:
|
|
commitlint:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: ./
|