-
Notifications
You must be signed in to change notification settings - Fork 8
add umdp3 fixer action #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Pierre Siddall (Pierre-siddall)
merged 13 commits into
MetOffice:main
from
james-bruten-mo:umdp3_fixer_action
Nov 12, 2025
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
6ee6405
add umdp3 fixer action
james-bruten-mo 97435a5
move lcoation of workflow
james-bruten-mo 0a78957
add file
james-bruten-mo 98f46f9
Merge remote-tracking branch 'upstream/main' into umdp3_fixer_action
james-bruten-mo 0945f9b
add token
james-bruten-mo aa426a6
update name of secret
james-bruten-mo 2953031
Update .github/workflows/umdp3_fixer.yaml
james-bruten-mo 5423d42
Update .github/workflows/umdp3_fixer.yaml
james-bruten-mo 34fb92c
Update .github/workflows/umdp3_fixer.yaml
james-bruten-mo 69d243b
remove required token
james-bruten-mo d24d571
update readme
james-bruten-mo b0cf14d
fix indenting
james-bruten-mo 43cc445
Update umdp3_fixer_action/README.md
james-bruten-mo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,44 @@ | ||
| --- | ||
| name: Fix UMDP3 | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| runner: | ||
| description: 'The runner to use for the job' | ||
| required: false | ||
| type: string | ||
| default: 'ubuntu-24.04' | ||
| timeout: | ||
| description: 'The time limit for the workflow, default 10 minutes' | ||
| required: false | ||
| type: number | ||
| default: 10 | ||
|
|
||
| permissions: read-all | ||
|
|
||
| jobs: | ||
| umdp3_fixer: | ||
| runs-on: ${{ inputs.runner }} | ||
| timeout-minutes: ${{ inputs.timeout }} | ||
|
|
||
| steps: | ||
| - name: Checkout Branch | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| path: pr_branch | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Checkout SimSys_Scripts | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: MetOffice/SimSys_Scripts | ||
| sparse-checkout: umdp3_fixer | ||
| path: SimSys_Scripts | ||
| - name: Set up Python 3.14 | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: 3.14 | ||
| - name: Run UMDP3 Fixer | ||
| working-directory: ./SimSys_Scripts/umdp3_fixer | ||
| run: | | ||
| python rosestem_branch_checker.py --source "${GITHUB_WORKSPACE}/pr_branch" --fixer_source . --col 80 |
This file contains hidden or 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,24 @@ | ||
| # UMDP3 Fixer Action | ||
|
|
||
| This action runs the UMDP3 fixer script stored in | ||
| [MetOffice/SimSys_Scripts](https://github.com/MetOffice/SimSys_Scripts). | ||
|
|
||
| ## Usage | ||
|
|
||
| ```yaml | ||
| name: umdp3 Fixer | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| umdp3_fixer: | ||
| uses: MetOffice/growss/.github/workflows/umdp3_fixer.yaml@main | ||
|
|
||
| # Optional | ||
| with: | ||
| runner: 'ubuntu-24.04' | ||
| timeout: 10 | ||
| ``` | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.