We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e84f5b3 commit 62db9e6Copy full SHA for 62db9e6
.github/workflows/changelog.yml
@@ -33,7 +33,7 @@ jobs:
33
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
34
with:
35
# Fetch complete history depth only if the PR is not a chore.
36
- fetch-depth: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') && !contains(github.event.pull_request.labels.*.name, 'Skip Changelog') && !contains(github.event.pull_request.title, '[chore]') && '0' || '1' }}
+ fetch-depth: ${{ fromJSON('["0", "1"]')[contains(github.event.pull_request.title, '[chore]') || contains(github.event.pull_request.labels.*.name, 'Skip Changelog') || contains(github.event.pull_request.labels.*.name, 'dependencies')] }}
37
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
38
39
go-version: oldstable
0 commit comments