Submodule Sync #3483
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uses: https://github.com/marketplace/actions/submodule-sync | |
name: Submodule Sync | |
on: | |
schedule: | |
- cron: "0 * * * *" | |
workflow_dispatch: ~ | |
jobs: | |
submodule-sync: | |
name: Submodule Sync | |
runs-on: ubuntu-latest | |
steps: | |
- name: Submodule Sync abi | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: abi | |
ref: main | |
pr_branch: automated-submodule-update-abi | |
target_branch: main | |
pr_body: "Update to Abi's submodule" | |
- name: Submodule Sync alex | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: alex | |
ref: main | |
pr_branch: automated-submodule-update-alex | |
target_branch: main | |
pr_body: "Update to Alex's submodule" | |
- name: Submodule Sync angel | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: angel | |
ref: main | |
pr_branch: automated-submodule-update-angel | |
target_branch: main | |
pr_body: "Update to Angel's submodule" | |
# Look into how to do this with private repo | |
# - name: Submodule Sync chris | |
# uses: mheap/submodule-sync-action@v1 | |
# with: | |
# token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
# path: chris | |
# ref: main | |
# pr_branch: automated-submodule-update-chris | |
# target_branch: main | |
# pr_body: "Update to Chris's submodule" | |
- name: Submodule Sync emily | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: emily | |
ref: main | |
pr_branch: automated-submodule-update-emily | |
target_branch: main | |
pr_body: "Update to Emily's submodule" | |
- name: Submodule Sync michael | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: michael | |
ref: main | |
pr_branch: automated-submodule-update-michael | |
target_branch: main | |
pr_body: "Update to Michael's submodule" | |
- name: Submodule Sync oli | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: oli | |
ref: master | |
pr_branch: automated-submodule-update-oli | |
target_branch: main | |
pr_body: "Update to Oli's submodule" | |
- name: Submodule Sync thomas | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: thomas | |
ref: main | |
pr_branch: automated-submodule-update-thomas | |
target_branch: main | |
pr_body: "Update to Thomas's submodule" | |
- name: Submodule Sync tom | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: tom | |
ref: main | |
pr_branch: automated-submodule-update-tom | |
target_branch: main | |
pr_body: "Update to Tom's submodule" | |
- name: Submodule Sync anna | |
uses: mheap/submodule-sync-action@v1 | |
with: | |
token: "${{ secrets.EMILYHUNT_WORKFLOWS }}" | |
path: anna | |
ref: main | |
pr_branch: automated-submodule-update-anna | |
target_branch: main | |
pr_body: "Update to Anna's submodule" | |
# Unfortunately, non-GitHub repos aren't supported =( | |
# - name: Submodule Sync will | |
# uses: mheap/submodule-sync-action@v1 | |
# with: | |
# path: will | |
# ref: main | |
# pr_branch: automated-submodule-update-will | |
# target_branch: main | |
# pr_body: "Update to Will's submodule" |