ci: update global workflows (#661)
This commit is contained in:
10
.github/workflows/autoupdate.yml
vendored
10
.github/workflows/autoupdate.yml
vendored
@@ -7,8 +7,9 @@
|
||||
# - automerge
|
||||
# - autoupdate-labeler
|
||||
|
||||
# It uses GitHub Action that auto-updates pull requests branches, when changes are pushed to their destination branch.
|
||||
# It uses an action that auto-updates pull requests branches, when changes are pushed to their destination branch.
|
||||
# Auto-updating to the latest destination branch works only in the context of upstream repo and not forks.
|
||||
# Dependabot PRs are updated by an action that comments `@depdenabot rebase` on dependabot PRs.
|
||||
|
||||
name: autoupdate
|
||||
|
||||
@@ -39,14 +40,7 @@ jobs:
|
||||
startsWith(github.repository, 'LizardByte/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: check labels
|
||||
id: label
|
||||
run: |
|
||||
echo "central_dep=${{ contains(github.event.pull_request.labels.*.name, 'central_dependency') }}" \
|
||||
>> $GITHUB_OUTPUT
|
||||
|
||||
- name: rebase
|
||||
if: ${{ steps.label.outputs.central_dep == 'false' }}
|
||||
uses: "bbeesley/gha-auto-dependabot-rebase@v1.2.0"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user