-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(RELEASE-1211): add push workflow so internal mirrors development
This commit adds a github workflow to push to the internal branch whenever a push is made to the development branch. Thus, the internal branch will mirror the development branch so internal can be used for the app-sre cluster. It also modifies the promote_branch script to no longer push to the internal branch and explains the PR process for the internal directory in CONTRIBUTING.md. Signed-off-by: Johnny Bieren <[email protected]>
- Loading branch information
1 parent
2301861
commit b721841
Showing
3 changed files
with
43 additions
and
4 deletions.
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
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,28 @@ | ||
--- | ||
name: Update Internal Branch | ||
|
||
on: | ||
push: | ||
branches: [development] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Git User | ||
run: | | ||
git config user.name "GitHub Action" | ||
git config user.email "[email protected]" | ||
- name: Update Internal Branch | ||
run: | | ||
git checkout -b internal | ||
git push -f origin internal |
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