You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
Add "[chore]" PR prefix to skip changelog check (#3754)
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user