Skip to content

deps: update praha eslint config packages (major) #158

deps: update praha eslint config packages (major)

deps: update praha eslint config packages (major) #158

name: Consistent Pull Request
on:
pull_request_target:
types: [opened, edited, synchronize]
jobs:
consistent-pull-request:
name: Consistent Pull Request
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
pull-requests: write
steps:
- name: Check pr label name
uses: praha-inc/action-restrict-pr-label@7afc265323238e3b73f016e565f9c81d5e67362d # v1.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
rules: |
main <- feature/* [feature]
main <- bugfix/* [bugfix]
main <- refactor/* [refactor]
main <- chore/* [chore]
main <- deps/* [deps]
- name: Check head branch name
uses: praha-inc/action-restrict-head-branch@48b7777bbd99e4702abe38e4a996fcd5a2453667 # v1.0.0
with:
rules: |
feature/* bugfix/* refactor/* chore/* deps/*
- name: Check base branch name
uses: praha-inc/action-restrict-base-branch@d0c225fdd8eab6e1e4b4e455e0877003c33078a2 # v1.0.2
with:
rules: |
main <- feature/* bugfix/* refactor/* chore/* deps/*