-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into feature_2729_tc_diag
- Loading branch information
Showing
685 changed files
with
24,514 additions
and
17,727 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
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
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
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
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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
|
||
jobs: | ||
update_truth: | ||
name: "Update or create truth reference branch" | ||
name: "Update reference branch truth data" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if branch is develop or main_vX.Y | ||
|
@@ -31,31 +31,43 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.METPLUS_BOT_TOKEN }} | ||
- name: Resolve conflicts between branch and branch-ref | ||
- name: Resolve conflicts with an update branch | ||
id: resolve_conflicts | ||
run: | | ||
branch_name=${{ env.branch_name }} | ||
cd ${GITHUB_WORKSPACE} | ||
if [[ -z "$(git ls-remote --heads origin ${branch_name}-ref)" ]]; then | ||
echo ERROR: ${branch_name}-ref does not exist | ||
exit 1 | ||
fi | ||
echo ${branch_name}-ref does exist -- update it | ||
git config --global user.name "metplus-bot" | ||
git config --global user.email "[email protected]" | ||
# checkout branch (develop or main_vX.Y) | ||
echo git checkout ${branch_name} | ||
git checkout ${branch_name} | ||
echo git checkout -b update_truth_for_${branch_name} | ||
git checkout -b update_truth_for_${branch_name} | ||
# create unique branch name to update *-ref branch | ||
update_branch=update_${branch_name}_$(uuidgen | cut -d "-" -f1) | ||
echo "update_branch=${update_branch}" >> $GITHUB_OUTPUT | ||
echo git checkout -b ${update_branch} | ||
git checkout -b ${update_branch} | ||
# merge -ref branch into the update branch (favoring update branch changes) | ||
echo git merge -s ours origin/${branch_name}-ref | ||
git merge -s ours origin/${branch_name}-ref | ||
echo git push origin update_truth_for_${branch_name} | ||
git push origin update_truth_for_${branch_name} | ||
# push update branch to origin | ||
echo git push origin ${update_branch} | ||
git push origin ${update_branch} | ||
- name: Create Pull Request | ||
run: gh pr create --base $BASE --body "$BODY" --title "$TITLE" | ||
run: gh pr create --head $HEAD --base $BASE --body "$BODY" --title "$TITLE" | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
HEAD: ${{ steps.resolve_conflicts.outputs.update_branch }} | ||
BASE: ${{ env.branch_name }}-ref | ||
BODY: ${{ github.event.inputs.change_summary }}<br/>Created by @${{ github.actor}} | ||
BODY: ${{ github.event.inputs.change_summary }}<br/>Created by @${{ github.actor }} | ||
TITLE: Update ${{ env.branch_name }}-ref after ${{ github.event.inputs.pull_requests }} |
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 |
---|---|---|
|
@@ -19,3 +19,5 @@ make.log | |
make_install.log | ||
.idea | ||
cmake-build-debug | ||
|
||
__pycache__ |
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
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
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
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
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
Oops, something went wrong.