1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-06-02 22:57:27 +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 # 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 # least one CHANGELOG file. If a CHANGELOG entry is not required, or if
# Changelog" label to disable this action. # 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 name: changelog
@ -12,7 +13,7 @@ on:
jobs: jobs:
changelog: changelog:
runs-on: ubuntu-latest 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: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@ -62,4 +62,4 @@ git commit -m "dependabot updates `date`
$message" $message"
git push origin $PR_NAME 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"