Skip to content

Commit 81169c3

Browse files
committed
Improve GitHub Actions
1 parent 4bc7d99 commit 81169c3

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.github/config/pr_labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
feature: feature/*
2+
bugfix: ["bug/*", "bugfix/*", "hotfix/*", "fix/*"]
3+
improvement: improvement/*

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 10

.github/workflows/pr_labeler.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PR Labeler
2+
on:
3+
pull_request:
4+
types: [opened]
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
pr-labeler:
10+
name: PR Labeler
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
16+
steps:
17+
- uses: TimonVS/pr-labeler-action@v5
18+
timeout-minutes: 10
19+
with:
20+
configuration-path: .github/config/pr_labeler.yml
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)