1
0
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:
Tyler Yahn 2023-02-17 16:45:41 -08:00 committed by GitHub
parent db1b499265
commit ecf0838245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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"