5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-09 08:46:54 +00:00
commitlint-github-action/.github/workflows/test.yml
Wagner Santos 23cd801837 feat: add ability to run commitlint on events that are not pull requests
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`.
2019-10-15 10:23:56 -03:00

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: ./