Skip to content

CONTRIBUTING.md を削除 #774

CONTRIBUTING.md を削除

CONTRIBUTING.md を削除 #774

Workflow file for this run

name: Validate PR
on:
pull_request:
branches:
- main
- canary
types:
- opened
- synchronize
- labeled
- unlabeled
jobs:
validate-pr:
name: Validate PR
runs-on: ubuntu-latest
steps:
- name: Check label
if: |
!contains(github.event.pull_request.labels.*.name, 'bug') &&
!contains(github.event.pull_request.labels.*.name, 'enhancement') &&
!contains(github.event.pull_request.labels.*.name, 'chore') &&
!contains(github.event.pull_request.labels.*.name, 'feature') &&
!contains(github.event.pull_request.labels.*.name, 'release') &&
!contains(github.event.pull_request.labels.*.name, 'dependencies')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
URL: ${{ github.event.pull_request.comments_url }}
run: |
echo "::error::次のラベルを付けてください。 labels: bug, enhancement, feature, chore, release, dependencies"
exit 1