Skip to content

Commit

Permalink
Merge pull request #1705 from wwahammy/fix-labeler-really
Browse files Browse the repository at this point in the history
Actually fix labeler
  • Loading branch information
wwahammy authored Mar 24, 2024
2 parents 03b02a1 + c332091 commit 0211dd5
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 20 deletions.
61 changes: 42 additions & 19 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,59 @@
ruby:
- './**/*.rb'
- changed-files:
- any-glob-to-any-file: "./**/*.rb"

javascript:
- './**/*.js'
- './**/*.ts*'
- changed-files:
- any-glob-to-any-file:
- "./**/*.js"
- "./**/*.ts*"

spec:
- 'spec/**'
- './**/*.spec.js'
- './**/*.spec.ts*'
- changed-files:
- any-glob-to-any-file:
- "spec/**"
- "./**/*.spec.js"
- "./**/*.spec.ts*"

model:
- 'app/models/**'
- changed-files:
- any-glob-to-any-file:
- "app/models/**"

controller:
- 'app/controllers/**'
- changed-files:
- any-glob-to-any-file:
- "app/controllers/**"

mailer:
- 'app/mailers/**'
- changed-files:
- any-glob-to-any-file:
- "app/mailers/**"

view:
- 'app/views/**'
- changed-files:
- any-glob-to-any-file:
- "app/views/**"

job:
- 'app/jobs/**'
- changed-files:
- any-glob-to-any-file:
- "app/jobs/**"

dependencies:
- changed-files:
- any-glob-to-any-file:
- "Gemfile.lock"
- "yarn.lock"
- "gems/**"

dependencies:
- 'Gemfile.lock'
- 'yarn.lock'
- 'gems/**'
config:
- './config/**'
widget:
- 'app/javascript/donate-button/*'
- 'app/assets/stylesheets/donate-button/*'
- changed-files:
- any-glob-to-any-file:
- "./config/**"

widget:
- changed-files:
- any-glob-to-any-file:
- "app/javascript/donate-button/*"
- "app/assets/stylesheets/donate-button/*"
5 changes: 4 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ on: [pull_request_target]

jobs:
label:
permissions: write-all
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 0211dd5

Please sign in to comment.