mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-20 03:30:02 +02:00
Add "[chore]" PR prefix to skip changelog check (#3754)
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
This commit is contained in:
parent
db1b499265
commit
ecf0838245
7
.github/workflows/changelog.yml
vendored
7
.github/workflows/changelog.yml
vendored
@ -1,6 +1,7 @@
|
||||
# This action requires that any PR targeting the main branch should touch at
|
||||
# least one CHANGELOG file. If a CHANGELOG entry is not required, add the "Skip
|
||||
# Changelog" label to disable this action.
|
||||
# least one CHANGELOG file. If a CHANGELOG entry is not required, or if
|
||||
# performing maintance on the Changelog, add either \"[chore]\" to the title of
|
||||
# the pull request or add the \"Skip Changelog\" label to disable this action.
|
||||
|
||||
name: changelog
|
||||
|
||||
@ -12,7 +13,7 @@ on:
|
||||
jobs:
|
||||
changelog:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.pull_request.labels.*.name, 'Skip Changelog')"
|
||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') && !contains(github.event.pull_request.labels.*.name, 'Skip Changelog') && !contains(github.event.pull_request.title, '[chore]')}}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
2
.github/workflows/scripts/dependabot-pr.sh
vendored
2
.github/workflows/scripts/dependabot-pr.sh
vendored
@ -62,4 +62,4 @@ git commit -m "dependabot updates `date`
|
||||
$message"
|
||||
git push origin $PR_NAME
|
||||
|
||||
gh pr create --title "dependabot updates `date`" --body "$message" -l "Skip Changelog"
|
||||
gh pr create --title "[chore] dependabot updates `date`" --body "$message"
|
||||
|
Loading…
x
Reference in New Issue
Block a user