chore: move submodule update to dependabot and remove unused workflow (#1478)
This commit is contained in:
parent
e4e76943d6
commit
02010edac3
7
.github/dependabot.yml
vendored
7
.github/dependabot.yml
vendored
@ -15,3 +15,10 @@ updates:
|
|||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
labels:
|
labels:
|
||||||
- "merge when passing"
|
- "merge when passing"
|
||||||
|
- package-ecosystem: gitsubmodule
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
open-pull-requests-limit: 10
|
||||||
|
labels:
|
||||||
|
- "merge when passing"
|
||||||
|
29
.github/workflows/submodule-sync.yml
vendored
29
.github/workflows/submodule-sync.yml
vendored
@ -1,29 +0,0 @@
|
|||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
sync:
|
|
||||||
name: Submodule Sync
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: Git Sumbodule Update
|
|
||||||
run: |
|
|
||||||
git pull --recurse-submodules
|
|
||||||
git submodule update --remote --recursive
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
uses: peter-evans/create-pull-request@v5.0.2
|
|
||||||
with:
|
|
||||||
title: "Updated submodule"
|
|
||||||
labels: "merge when passing"
|
|
||||||
branch: "chore/update-submodule"
|
|
||||||
commit-message: "Updated submodule"
|
|
||||||
body: "Updated submodule"
|
|
||||||
token: ${{ secrets.PAT_TOKEN }}
|
|
Loading…
x
Reference in New Issue
Block a user