Merge branch 'master' into rails-v6
This commit is contained in:
commit
eae87bd7a8
2 changed files with 27 additions and 0 deletions
17
.github/workflows/label.yml
vendored
Normal file
17
.github/workflows/label.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
# This workflow will triage pull requests and apply a label based on the
|
||||
# paths that are modified in the pull request.
|
||||
#
|
||||
# To use this workflow, you will need to set up a .github/labeler.yml
|
||||
# file with configuration. For more information, see:
|
||||
# https://github.com/actions/labeler/blob/master/README.md
|
||||
|
||||
name: Labeler
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v2
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
10
.github/workflows/labeler.yml
vendored
Normal file
10
.github/workflows/labeler.yml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
ruby: **/*.rb
|
||||
javascript:
|
||||
- any: ['**/*.js', '**/*.ts','**/*.tsx']
|
||||
test:
|
||||
- any: ['spec/**', '**/*.spec.js', '**/*.spec.ts', '**/*.spec.tsx']
|
||||
model: app/models/**
|
||||
controller: app/controllers/**
|
||||
mailer: app/mailers/**
|
||||
view: app/views/**
|
||||
jobs: app/jobs/**
|
Loading…
Reference in a new issue