Skip to content

add umdp3 fixer action - #21

Merged
Pierre Siddall (Pierre-siddall) merged 13 commits into
MetOffice:mainfrom
james-bruten-mo:umdp3_fixer_action
Nov 12, 2025
Merged

add umdp3 fixer action#21
Pierre Siddall (Pierre-siddall) merged 13 commits into
MetOffice:mainfrom
james-bruten-mo:umdp3_fixer_action

Conversation

@james-bruten-mo

Copy link
Copy Markdown
Collaborator

Add a reusable action to run the UMDP3 fixer in CI - useful for UM, Jules, UKCA
Linked with MetOffice/SimSys_Scripts#129

This has been tested on UKCA code, both passing and failing as expected.

Comment thread .github/workflows/umdp3_fixer.yaml Outdated
Comment on lines +29 to +33
- name: Checkout Branch
uses: actions/checkout@v4
with:
path: cloned_branch
token: ${{ secrets.gh_action_token }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably want to checkout the PR branch here. The current implementation will checkout the default base branch which I think is not desirable

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I don't think it does as this is being called on pull_request not pull_request_target

@yaswant Yaswant Pradhan (yaswant) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments

Comment thread .github/workflows/umdp3_fixer.yaml Outdated
Comment thread .github/workflows/umdp3_fixer.yaml Outdated
Comment thread .github/workflows/umdp3_fixer.yaml Outdated
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow looks good to go to me, just one tiny suggestion when it comes to wording the README to differentiate between default inputs and inputs which override the defaults.

Comment thread umdp3_fixer_action/README.md Outdated
Co-authored-by: Pierre Siddall <43399998+Pierre-siddall@users.noreply.github.com>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks James this looks good to head onto trunk now for me. Hopefully the fix for the failing yaml will be added to trunk soon.

@Pierre-siddall
Pierre Siddall (Pierre-siddall) merged commit 2a0aa74 into MetOffice:main Nov 12, 2025
1 of 2 checks passed
@james-bruten-mo
James Bruten (james-bruten-mo) deleted the umdp3_fixer_action branch November 13, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants