fix: update parameter config file #70
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: Lint conventional commits | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
jobs: | |
lint-pr: | |
name: Lint pull request title | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if PR is from SNYK | |
id: check | |
env: | |
title: ${{ github.event.pull_request.title }} | |
run: | | |
echo $title | |
if [[ $title == [Snyk* ]]; then | |
echo "skip=true" >> "$GITHUB_OUTPUT" | |
fi | |
- name: Lint pull request title | |
if: '!steps.check.outputs.skip' | |
uses: jef/conventional-commits-pr-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |