3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-23 23:25:32 +00:00
changed-files/.github/workflows/submodule-sync.yml

30 lines
726 B
YAML
Raw Normal View History

2022-02-26 09:36:20 +00:00
on:
workflow_dispatch:
jobs:
sync:
name: Submodule Sync
runs-on: ubuntu-latest
steps:
- name: Checkout
2022-03-01 19:50:35 +00:00
uses: actions/checkout@v3
2022-02-26 09:36:20 +00:00
with:
fetch-depth: 0
submodules: recursive
- name: Git Sumbodule Update
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
2022-02-26 09:41:54 +00:00
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4.2.3
2022-02-26 09:36:20 +00:00
with:
2022-02-26 09:41:54 +00:00
title: "Updated submodule"
2022-12-05 06:08:45 +00:00
labels: "merge when passing"
2022-02-26 09:41:54 +00:00
branch: "chore/update-submodule"
commit-message: "Updated submodule"
body: "Updated submodule"
token: ${{ secrets.PAT_TOKEN }}