mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
28 lines
687 B
YAML
28 lines
687 B
YAML
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@v4.1.1
|
|
with:
|
|
title: "Updated submodule"
|
|
branch: "chore/update-submodule"
|
|
commit-message: "Updated submodule"
|
|
body: "Updated submodule"
|
|
token: ${{ secrets.PAT_TOKEN }}
|