mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
feat: add PR labeler
This commit is contained in:
parent
a7d604555a
commit
8ac1ccaa34
3
.github/pr-labeler.yml
vendored
Normal file
3
.github/pr-labeler.yml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
feature: ["feature/*", "feat/*"]
|
||||
fix: fix/*
|
||||
chore :hammer:: chore/*
|
2
.github/workflows/deploy-hway.yml
vendored
2
.github/workflows/deploy-hway.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install devbox
|
||||
uses: jetify-com/devbox-install-action@v0.12.0
|
||||
uses: jetify-com/devbox-install-action@v0.11.0
|
||||
- name: Deploy
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
|
19
.github/workflows/label-pr.yml
vendored
Normal file
19
.github/workflows/label-pr.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: PR Labeler
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
pr-labeler:
|
||||
permissions:
|
||||
contents: read # for TimonVS/pr-labeler-action to read config file
|
||||
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: TimonVS/pr-labeler-action@v5
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
|
Loading…
x
Reference in New Issue
Block a user