-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parent repo updater submodule. (#124)
- Loading branch information
1 parent
c9a3f17
commit 4380243
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: parent-updater | ||
|
||
on: | ||
push: | ||
branches: | ||
- release-v0.17.1-lyft.1 | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
repository: ${{ secrets.PARENT_REPOSITORY }} | ||
token: ${{ secrets.PARENT_REPO_TOKEN }} | ||
|
||
- name: init | ||
run: | | ||
git submodule update --init --recursive | ||
- name: update remote | ||
run: | | ||
git submodule update --recursive --remote | ||
- name: commit | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "$GITHUB_ACTOR" | ||
git add --all | ||
git commit -m "Update submodules" || echo "No changes to commit" | ||
git push |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
on: push | ||
name: Tests | ||
name: tester | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|