mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
feat(GHA): Renovate auto rebase after PR automerge enabled
This commit is contained in:
4
.github/workflows/renovate-rebase.yaml
vendored
4
.github/workflows/renovate-rebase.yaml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: ["auto_merge_enabled"]
|
||||
branches: ["renovate/**"]
|
||||
branches: ["main"]
|
||||
# push:
|
||||
# branches: ["renovate/**"]
|
||||
|
||||
@@ -18,12 +18,14 @@ concurrency:
|
||||
jobs:
|
||||
renovate-rebase:
|
||||
name: Renovate
|
||||
if: startsWith(github.event.pull_request.head.ref,'renovate/') == true
|
||||
uses: JJGadgets/Biohazard/.github/workflows/renovate.yaml@main
|
||||
secrets: inherit
|
||||
rebase-after:
|
||||
name: Rebase
|
||||
runs-on: ubuntu-latest
|
||||
needs: renovate-rebase
|
||||
if: startsWith(github.event.pull_request.head.ref,'renovate/') == true
|
||||
steps:
|
||||
- name: "Generate Short Lived OAuth App Token (ghs_*)"
|
||||
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
|
||||
|
||||
Reference in New Issue
Block a user