Skip to content

Commit

Permalink
ci: update global workflows (LizardByte#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
LizardByte-bot authored Jan 22, 2023
1 parent 9d6d59a commit fa6c279
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# 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.
# Dependabot PRs are updated by an action that comments `@depdenabot rebase` on dependabot PRs. (disabled)

name: autoupdate

Expand All @@ -34,13 +34,18 @@ jobs:
PR_READY_STATE: "all"
MERGE_CONFLICT_ACTION: "fail"

dependabot-rebase:
name: Dependabot Rebase
if: >-
startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest
steps:
- name: rebase
uses: "bbeesley/[email protected]"
env:
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
# Disabled due to:
# - no major version tag, resulting in constant nagging to update this action
# - additionally, the code is sketchy, 16k+ lines of code?
# https://github.com/bbeesley/gha-auto-dependabot-rebase/blob/main/dist/main.cjs
#
# dependabot-rebase:
# name: Dependabot Rebase
# if: >-
# startsWith(github.repository, 'LizardByte/')
# runs-on: ubuntu-latest
# steps:
# - name: rebase
# uses: "bbeesley/[email protected]"
# env:
# GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}

0 comments on commit fa6c279

Please sign in to comment.