Skip to content

Commit

Permalink
Broken pull request labeler brisbanesocialchess#28 (brisbanesocialche…
Browse files Browse the repository at this point in the history
…ss#51)



---------

Co-authored-by: John Bampton <[email protected]>
  • Loading branch information
smriad and jbampton authored Oct 29, 2024
1 parent 0e34238 commit b210125
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 16 deletions.
19 changes: 16 additions & 3 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
---
documentation:
- "**/*.md"
- "README.md"
- "docs/**"
- any:
- changed-files:
- any-glob-to-any-file:
- '**/*.md'

root:
- any:
- changed-files:
- any-glob-to-any-file:
- '*'

github-actions:
- any:
- changed-files:
- any-glob-to-any-file:
- .github/**/*
28 changes: 15 additions & 13 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
---
name: "Pull Request Labeler"
name: "Pull Request Labeler"

on:
pull_request:
types: [opened, synchronize]
on:
- pull_request_target

jobs:
label:
runs-on: ubuntu-latest
jobs:
label:
runs-on: ubuntu-latest
permissions:
pull-requests: write # Ensure write access for PRs

steps:
- name: Pull Request Labeler
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/labeler.yml"
steps:
- name: Pull Request Labeler
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/labeler.yml"
sync-labels: true

0 comments on commit b210125

Please sign in to comment.