refactor: refactored internal handling of external and internal events #350
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
lint-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# check for the most recent release: https://github.com/CondeNast/conventional-pull-request-action/releases | |
# replace vX.X.X below with the most recently released version | |
- uses: CondeNast/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
# to override config-conventional rules, specify a relative path to your rules module, actions/checkout is required for this setting! | |
commitlintRulesPath: "./commitlint.rules.js" # default: undefined | |
# if the PR contains a single commit, fail if the commit message and the PR title do not match | |
commitTitleMatch: "false" # default: 'true' | |
# if you squash merge PRs and enabled "Default to PR title for squash merge commits", you can disable all linting of commits | |
ignoreCommits: "true" # default: 'false' |