Skip to content

Commit

Permalink
chore: add labeler to CI/CD (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
  • Loading branch information
alexanderniebuhr and matthewp authored Oct 18, 2023
1 parent 732f328 commit 917ec0d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# See https://github.com/actions/labeler

'🚨 action':
- .github/workflows/**

'pkg: cloudflare':
- packages/cloudflare/**

'pkg: netlify':
- packages/netlify/**

'docs pr':
- README.md
- .changeset/*.md
16 changes: 16 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Automatically labels PRs based on the configuration file
# you are probably looking for 👉 `.github/labeler.yml`
name: Label PRs

on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
if: github.repository_owner == 'withastro'
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit 917ec0d

Please sign in to comment.