refactor: add gitpod #129
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: PR | |
on: | |
# By default, a workflow only runs when a pull_request's activity type | |
# is opened, synchronize, or reopened. We explicity override here so that | |
# PR titles are re-linted when the PR text content is edited. | |
# _target applies to PR from forks. | |
pull_request_target: | |
types: [opened, edited, reopened, synchronize] | |
jobs: | |
assignee-reviewer: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: kentaro-m/auto-assign-action@v1.2.5 | |
conventional-title: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: morrisoncole/pr-lint-action@v1.7.0 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
title-regex: "^(feat|fix|docs|style|refactor|perf|test|build|ci|chore): .{1,}" | |
on-failed-regex-fail-action: true | |
on-failed-regex-create-review: true | |
on-failed-regex-request-changes: true | |
on-failed-regex-comment: | |
"Please stick to Conventional Commits syntax for PR titles ;)" | |
on-succeeded-regex-dismiss-review-comment: | |
"Thank you <3" |