chore(deps): bump follow-redirects from 1.14.9 to 1.15.6 #403
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
# Run commitlint on Pull Requests and commits | |
name: commitlint | |
on: | |
pull_request: | |
types: ['opened', 'edited', 'reopened', 'synchronize'] | |
push: | |
branches: | |
- master | |
- dev | |
jobs: | |
lint-pull-request-name: | |
# Only on pull requests | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: yarn add @commitlint/config-conventional | |
- uses: JulienKode/[email protected] | |
lint-commits: | |
# Only if we are pushing or merging PR to the master | |
if: (github.event_name == 'pull_request' && github.base_ref == 'refs/heads/master') || github.event_name == 'push' | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 30 # Its fine to lint last 30 commits only | |
- run: yarn add @commitlint/config-conventional | |
- uses: wagoid/commitlint-github-action@v1 |