kopia lustrzana https://github.com/snarfed/bridgy-fed
let dependabot auto-merge certifi even on major version bumps
...since certifi uses calver, not semverpull/510/head
rodzic
c1187a1071
commit
b964949c19
|
@ -29,9 +29,13 @@ jobs:
|
|||
- name: Enable auto-merge for Dependabot PRs
|
||||
if: >
|
||||
! contains(steps.metadata.outputs.dependency-names, 'tlslite-ng') &&
|
||||
steps.metadata.outputs.update-type != 'version-update:semver-major'
|
||||
(steps.metadata.outputs.update-type != 'version-update:semver-major' ||
|
||||
contains(steps.metadata.outputs.dependency-names, 'certifi'))
|
||||
# certifi uses calver, not semver
|
||||
run: gh pr merge --auto --rebase "$PR_URL"
|
||||
|
||||
- name: "Warn that we won't auto-merge major version updates"
|
||||
if: steps.metadata.outputs.update-type == 'version-update:semver-major'
|
||||
if: >
|
||||
! contains(steps.metadata.outputs.dependency-names, 'certifi') &&
|
||||
steps.metadata.outputs.update-type == 'version-update:semver-major'
|
||||
run: gh pr comment "$PR_URL" -b "Looks like a major version upgrade! Skipping auto-merge."
|
||||
|
|
Ładowanie…
Reference in New Issue