Skip to content

Commit

Permalink
Merge pull request #10 from CruGlobal/fix-dependabot-labels
Browse files Browse the repository at this point in the history
chore(dependabot): Fix PR title and remove version labels
  • Loading branch information
Omicron7 authored Dec 3, 2024
2 parents 940ba25 + c7b4aff commit ffa4046
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
schedule:
interval: "weekly"
commit-message:
prefix: "deps(gomod)"
prefix: "chore(gomod)"
labels:
- "dependencies"
- "patch"
Expand All @@ -14,7 +14,7 @@ updates:
schedule:
interval: "weekly"
commit-message:
prefix: "deps(github-actions)"
prefix: "chore(github-actions)"
labels:
- "dependencies"
- "patch"
14 changes: 14 additions & 0 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ concurrency:
cancel-in-progress: true

jobs:
fix_dependabot_labels:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
permissions:
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v4
- uses: actions-ecosystem/action-remove-labels@v1
with:
labels: |
major
minor
check_semver_labels:
name: Check Semver labels
if: github.base_ref == 'main'
Expand Down

0 comments on commit ffa4046

Please sign in to comment.