-
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.
Browse files
Browse the repository at this point in the history
Co-authored-by: jprestop <jpresto@ucar.edu> Co-authored-by: John Halley Gotway <johnhg@ucar.edu> Co-authored-by: Seth Linden <linden@seneca.rap.ucar.edu> Co-authored-by: Daniel Adriaansen <dadriaan@ucar.edu> Co-authored-by: hsoh-u <hsoh@ucar.edu> Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> Co-authored-by: johnhg <johnhg@ucar.edu> Co-authored-by: Howard Soh <hsoh@seneca.rap.ucar.edu> Co-authored-by: MET Tools Test Account <met_test@seneca.rap.ucar.edu> Co-authored-by: Seth Linden <linden@ucar.edu> Co-authored-by: lisagoodrich <33230218+lisagoodrich@users.noreply.github.com> Co-authored-by: davidalbo <dave@ucar.edu> Co-authored-by: Lisa Goodrich <lisag@ucar.edu> Co-authored-by: metplus-bot <97135045+metplus-bot@users.noreply.github.com> fix #2389 develop flowchart (#2392) Fix Python environment issue (#2407) fix definitions of G172 and G220 based on comments in NOAA-EMC/NCEPLIBS-w3emc#157. (#2406) fix #2380 develop override (#2382) fix #2408 develop empty config (#2410) fix #2390 develop compile zlib (#2404) fix #2412 develop climo (#2422) fix #2437 develop convert (#2439) fix for develop, for #2437, forgot one reference to the search_parent for a dictionary lookup. fix #2452 develop airnow (#2454) fix #2449 develop pdf (#2464) fix #2402 develop sonarqube (#2468) fix #2426 develop buoy (#2475) fix 2518 dtypes appf docs (#2519) fix 2531 compilation errors (#2533) fix #2531 compilation_errors_configure (#2535)
- Loading branch information
1 parent
fef0a54
commit b99e5e9
Showing
261 changed files
with
7,547 additions
and
5,062 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Create Truth Data Update Pull Request | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pull_requests: | ||
description: 'Pull request(s) that warranted update, e.g. "#123" or "#123 and dtcenter/MET#123"' | ||
required: true | ||
change_summary: | ||
description: 'Summary of changes to truth data' | ||
required: true | ||
|
||
jobs: | ||
update_truth: | ||
name: "Update or create truth reference branch" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if branch is develop or main_vX.Y | ||
run: | | ||
branch_name=${GITHUB_REF#refs/heads/} | ||
echo "branch_name=$branch_name" >> $GITHUB_ENV | ||
if [[ $branch_name == "develop" ]] || \ | ||
[[ $branch_name =~ ^main_v[0-9]+\.[0-9]+$ ]]; then | ||
echo Branch is valid - $branch_name | ||
exit 0 | ||
fi | ||
echo ERROR: Branch is $branch_name - must be develop or match main_vX.Y | ||
exit 1 | ||
- uses: actions/checkout@v3 | ||
name: Checkout repository | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.METPLUS_BOT_TOKEN }} | ||
- name: Resolve conflicts between branch and branch-ref | ||
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 "97135045+metplus-bot@users.noreply.github.com" | ||
echo git checkout ${branch_name} | ||
git checkout ${branch_name} | ||
echo git merge -s ours origin/${branch_name}-ref | ||
git merge -s ours origin/${branch_name}-ref | ||
echo git push origin ${branch_name} | ||
git push origin ${branch_name} | ||
- name: Create Pull Request | ||
run: gh pr create --base $BASE --body "$BODY" --title "$TITLE" | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
BASE: ${{ env.branch_name }}-ref | ||
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
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 |
---|---|---|
|
@@ -24,8 +24,7 @@ SUBDIRS = \ | |
poly \ | ||
ps \ | ||
table_files \ | ||
tc_data \ | ||
wrappers | ||
tc_data | ||
|
||
topdir = $(pkgdatadir) | ||
|
||
|
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.