chore(deps): bump mikefarah/yq from 4.40.5 to 4.43.1 #5793
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: PR Lint | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
types: ['opened', 'edited', 'reopened', 'synchronize'] | |
jobs: | |
WIP: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: wip/action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
Conventional: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Namchee/conventional-pr@v0.15.4 | |
# 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 | |
close: false | |
issue: false | |
message: 'The title of this PR does not conform the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/). Please fix it, thx.' | |
# if the PR contains a single commit, fail if the commit message and the PR title do not match | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
Label: | |
permissions: | |
# permits this job to add a label to pull request | |
pull-requests: write | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.repo.fork == false | |
steps: | |
- name: Add labels based on PR title | |
uses: TDAK1509/set-label-based-on-pr-title@v1 | |
with: | |
words: feat;perf;refactor;fix;chore;docs;style;ci | |
labels: feature;enhancement;refactor;bugfix;chore;document;style;skip_changelog | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
# Triage: | |
# permissions: | |
# contents: read | |
# pull-requests: write | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/labeler@v4 | |
# with: | |
# repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
# configuration-path: '.github/config/_labeler.yml' | |
# sync-labels: true |