Skip to content

Commit

Permalink
Fix invalid GH action and restart file name (NOAA-EMC#2210)
Browse files Browse the repository at this point in the history
Resolves a typo that leads to an invalid workflow yaml and fixes the restart filename in restart detection.

Resolves NOAA-EMC#2205
  • Loading branch information
aerorahul committed Jan 8, 2024
1 parent 69605ea commit 6574d29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
if-no-files-found: ignore

- name: Comment ReadDocs Link in PR
if: github.event_name == "pull_request"
if: github.event_name == 'pull_request'
uses: actions/github-script@v6
with:
script: |
Expand Down
2 changes: 1 addition & 1 deletion ush/forecast_det.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ FV3_det(){

# Check for availability of FV3 restarts
if [[ -f "${COM_ATMOS_RESTART}/${PDYS}.${cycs}0000.coupler.res" ]]; then
mv "${COM_ATMOS_RESTART}/${PDYS}.${cycs}.coupler.res" "${COM_ATMOS_RESTART}/${PDYS}.${cycs}.coupler.res.old"
mv "${COM_ATMOS_RESTART}/${PDYS}.${cycs}0000.coupler.res" "${COM_ATMOS_RESTART}/${PDYS}.${cycs}0000.coupler.res.old"
else
local fv3_rst_ok="NO"
fi
Expand Down

0 comments on commit 6574d29

Please sign in to comment.