-
Notifications
You must be signed in to change notification settings - Fork 6
Enhance reusable workflows #80
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
Merged
Changes from 172 commits
Commits
Show all changes
174 commits
Select commit
Hold shift + click to select a range
d0af05e
update checkout action version to v6 in CLA workflow
yaswant fe826dc
refactor: enhance CLA check for contributor status in PR branch
yaswant e78dd86
refactor: update step name for contributor check in CLA workflow
yaswant fc10ca3
refactor: update ref input handling for CLA verification
yaswant 2bd6f12
refactor: add functionality to delete old CLA-related comments
yaswant ff15ce5
refactor: improve filtering of CLA-related comments from GitHub Actio…
yaswant 1181bdb
refactor: remove unused ref input and simplify checkout ref handling
yaswant e2f37e7
refactor: add error handling for deleting old CLA comments
yaswant 48dd503
refactor: enhance error handling for label creation in CLA workflow
yaswant 4e23060
refactor: update CONTRIBUTORS file references to CONTRIBUTORS.md in C…
yaswant 548cddf
refactor: update CLA comment link to point to the correct repository …
yaswant dcf2c97
Update post message
yaswant a455d67
Handle the scenario where a contributor has already signed the CLA in…
yaswant 2415cc9
Merge branch 'main' into develop
yaswant 8e563d5
Empty Commit
yaswant 0eeacb5
Refactor CLA workflow to use base SHA for accurate comparison
yaswant 49f528b
Add copyright notice to CLA Checker workflow file
yaswant 91bf7c5
Merge branch 'main' into develop
yaswant 61639ac
remove labelling when cla already signed on base (#46)
james-bruten-mo 61964fe
Remove label (#47)
james-bruten-mo dc0cdf9
Remove label (#48)
james-bruten-mo ba7228b
Remove label (#49)
james-bruten-mo 641b29d
update cla action (#50)
james-bruten-mo ac9a69a
Project edit action (#53)
james-bruten-mo 322090a
add permissions to develop branch action
james-bruten-mo b57ad63
update permissions syntax
james-bruten-mo 6132c4b
try read-all
james-bruten-mo 7dcbe75
revert to write
james-bruten-mo 05cadd4
test without assigning
james-bruten-mo c412c32
update secret
james-bruten-mo 3830a9f
reenable assignee
james-bruten-mo 401087e
update to Yashs version
james-bruten-mo eccbe42
update secrets
james-bruten-mo d8ee4bb
update secrets
james-bruten-mo 15227f8
update secrets
james-bruten-mo 53f5f40
debug
james-bruten-mo 84ab60d
debug
james-bruten-mo 7222d47
debug
james-bruten-mo 57146df
add brackets
james-bruten-mo 46931a4
remove debug
james-bruten-mo d7a9da2
remove debug
james-bruten-mo f3d6a6e
auto add SR
james-bruten-mo 2b68251
auto add sr
james-bruten-mo bc0ca12
make case insensitive
james-bruten-mo 95da5ef
testing workflow_run
james-bruten-mo ef6d34b
update
james-bruten-mo 27e53c2
update
james-bruten-mo fc4e94f
update
james-bruten-mo ccbc003
debug
james-bruten-mo 0b2d631
update trigger
james-bruten-mo abb8dd2
add log
james-bruten-mo 43bc9ea
add log
james-bruten-mo f7dd63b
switch to artifact
james-bruten-mo 6fce635
add token
james-bruten-mo c972630
add token
james-bruten-mo 2009ac2
add token
james-bruten-mo 753af3b
add token
james-bruten-mo 7101e2c
permissions
james-bruten-mo 11e55a2
extract location
james-bruten-mo 2f9f83f
extract location
james-bruten-mo 8a3c57c
make trigger reusable
james-bruten-mo 94a1d6d
update permissions
james-bruten-mo b5c7540
update cla action to allow for conflicts
james-bruten-mo 53a2096
syntax
james-bruten-mo a93a805
syntax
james-bruten-mo 1af96cc
test exists approach
james-bruten-mo 17efe2d
test exists approach
james-bruten-mo a1f8cf1
test exists approach
james-bruten-mo 62493c4
test exists approach
james-bruten-mo 53731f9
test exists approach
james-bruten-mo e3df2d4
test exists approach
james-bruten-mo cfc5a91
use checking of ref
james-bruten-mo 2b50b4e
syntax
james-bruten-mo 79a1ad6
syntax
james-bruten-mo 066db69
syntax
james-bruten-mo e13050c
syntax
james-bruten-mo 24d6272
syntax
james-bruten-mo 847707a
syntax
james-bruten-mo 61d2d21
debug
james-bruten-mo 2fe9565
debug
james-bruten-mo 94d5d09
remove debug
james-bruten-mo ade3f19
Merge branch 'main' into develop
james-bruten-mo 428b9ec
simplify logic
james-bruten-mo 7761d23
Update .github/workflows/cla-check.yaml
james-bruten-mo 8e7dfdc
make lowercase
james-bruten-mo 67832a7
Merge branch 'develop' of github.com:MetOffice/growss into develop
james-bruten-mo 678d62a
update label calls
james-bruten-mo 11be8c2
Merge main
yaswant 54f30f5
Enhance cla-check workflow
yaswant f4ba020
Refactor CLA label management to remove all related labels when signe…
yaswant 5f89aae
Merge main
yaswant 6e2433f
Tidy up and address reviewer comments
yaswant fc4a90d
Merge branch 'main' into develop
yaswant c556df4
Fix fortran linter workflow
yaswant f82c7e0
use correct flag to install fortitude-lint
yaswant d72c3d0
Refactor fortran-lint workflow
yaswant 3c23a13
Add link to workflow file from README
yaswant 417f7cc
Explain sections
yaswant 2f74857
Bring develop up-to-date with main (#72)
yaswant 23093d5
Merge main and add sphinx-docs workflow
yaswant 9c332ba
Enhance Sphinx workflow with pyproject.toml support and improved depe…
yaswant 59a3c6f
Fix dependency installation in Sphinx workflow to use Python version …
yaswant eeee122
Refactor dependency installation in Sphinx workflow to use uv-managed…
yaswant c354ea8
Fix syntax error in Sphinx workflow by closing print statement
yaswant e065c0d
Update Sphinx workflow to use virtual environment for linting and bui…
yaswant 9fc5fb2
Refactor Sphinx workflow to streamline dependency installation and us…
yaswant 95eab0b
Enhance Sphinx workflow to create a virtual environment with uv and i…
yaswant 8add976
Refactor Sphinx workflow to streamline dependency installation and im…
yaswant ee5ceac
Add notices for dependency source detection and resolved uv sync flag…
yaswant fbf80a4
Add step to create virtual environment and update dependency installa…
yaswant aaf3cc8
Allow existing virtual environment during creation in Sphinx workflow
yaswant 8290feb
Refactor dependency source detection in Sphinx workflow to improve cl…
yaswant a66f52c
Add job summary step
yaswant 0fa1787
Text style in log summary
yaswant d64af41
Set default options for sphinx-build based on review
yaswant ef6d552
Update README
yaswant dcb50e9
Ability to show full traceback on exception, when debug logging is on
yaswant b814690
UPDATE README
yaswant 7ad7214
Fix runner context
yaswant 14c7928
Fix typo
yaswant df5b0f9
Rename variable for clarity
yaswant 77b0e37
Use yq to parse toml, and make the python package resolution more con…
yaswant 1f5eaff
Refactor yq command to check for optional dependencies and improve wa…
yaswant 93de459
Refactor yq command to improve flag resolution
yaswant ed6099c
Avoid code injection via template expansion
yaswant f239e88
Fix yamllint error
yaswant b612d59
Reformat README
yaswant bf8c1ad
Fix syntax error in Sphinx Docs workflow table
yaswant e7733ce
Refactor environment variable handling in Sphinx Docs workflow Summar…
yaswant 6192c4c
Add RUNNER environment variable to job summary step in Sphinx Docs wo…
yaswant 5cbd034
Update deployment environment variable to use inputs in Sphinx Docs w…
yaswant 86d9b7e
Update job status variable in Sphinx Docs workflow summary
yaswant 0495c86
Format uv sync flags and deployment variables in Sphinx Docs workflow…
yaswant 99fc14c
Update Sphinx Docs workflow summary to include property-value table h…
yaswant 691d45f
Clarify Windows runner support in Sphinx Docs README
yaswant b5106d0
Merge branch 'main' into develop
james-bruten-mo 11b4bfc
Pin third party actions
yaswant 3b64e3b
space after comment
yaswant e5b7a25
merge: sync history with main to fix README diff
yaswant 437d782
Add depandabot and zizmor configuration
yaswant e05254d
Fix yamllint
yaswant a9577c5
Fix yamllint config
yaswant c18be21
Fix yamllint too many blank lines
yaswant ae02afa
Use gh api to query merge ref metadata
yaswant fde7019
Call gh files api directly to check modifcation status
yaswant f30059d
Check CONTRIBUTOR content changes
yaswant 6a419f4
Check CONTRIBUTOR content changes 2
yaswant e4549de
Check CONTRIBUTOR content changes 3
yaswant 53d3c7e
Revert
yaswant 2e4d833
Update pull request template to standardize checklist headings
yaswant bfd31d8
Refactor CONTRIBUTORS.md modification check in CLA workflow to improv…
yaswant ce36a2b
Enhance CONTRIBUTORS.md check in CLA workflow to improve handling of …
yaswant 52765d3
Refactor permissions scope in Sphinx Docs workflow
yaswant 838b2d9
Fix code injection via template expansion
yaswant ccc1b25
Refactor permissions structure in track-review-project workflow
yaswant 6b34550
Refactor label management
yaswant 2b2a790
zizmor pedantic compliance
yaswant 916299f
Update linked README files
yaswant acdad39
Fix formatting in README.md for permissions section
yaswant 07d5a66
Enhance workflow permissions
yaswant 3dc3aff
Refactor PR reviewer extraction and project metadata handling for imp…
yaswant 499779a
Update README.md to clarify project entry handling and enhance permis…
yaswant a1c1b0f
Update workflows and dependencies for improved validation and linting
yaswant ba8edcb
Enhance shell script detection in validation workflow with improved m…
yaswant c97548b
Improve shell script detection messaging in validation workflow
yaswant 5749f74
Empty Commit
yaswant 83fdb51
Update workflows to use actions/checkout@v7.0.0 and adjust permission…
yaswant 4e0a9f0
Allow unsafe PR checkout for branches from forks in CLA workflow
yaswant e190ca0
Remove commented-out code for CONTRIBUTORS.md modification check in C…
yaswant 898b698
Update setup-uv action to v8.3.2 and enable caching options
yaswant d9ca7dd
Enhance caching in Sphinx Docs workflow by adding cache for pyproject…
yaswant 814b8bd
Fix typo
yaswant 7bf0fc1
Respond to Copilot review
yaswant 3c07fd0
Review comments
yaswant 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,51 @@ | ||
| # ------------------------------------------------------------------------------ | ||
| # (c) Crown copyright Met Office. All rights reserved. | ||
| # The file LICENCE, distributed with this code, contains details of the terms | ||
| # under which the code may be used. | ||
| # ------------------------------------------------------------------------------ | ||
| # | ||
| # ============================================================================== | ||
| # Dependabot Configuration | ||
| # | ||
| # This configuration automates security updates for third-party GitHub Actions. | ||
| # To protect our downstream consumers, all actions must be pinned to a | ||
| # 40-character commit SHA rather than a mutable version tag. | ||
| # | ||
| # Custom rulesets in place: | ||
| # 1. Monthly Schedule: Checks for updates once a month to minimize noise. | ||
| # 2. Major Version Lock: Automated major updates (e.g., v9 to v10) are blocked | ||
| # to prevent unexpected breaking code changes. | ||
| # 3. PR Grouping: All discovered minor/patch updates are bundled into a single | ||
| # monthly Pull Request instead of flooding the repository notifications. | ||
| # | ||
| # How to manually trigger a Major Update: | ||
| # To safely upgrade an action to its next major version baseline: | ||
| # 1. Open the workflow file. | ||
| # 2. Leave the old SHA exactly as it is, but manually change the trailing | ||
| # comment tag to the new target baseline version (e.g., update the text | ||
| # from "# v4.0.0" to "# v5.0.0"). | ||
| # 3. Push your change. Dependabot will instantly recognize the target update | ||
| # and generate a new PR containing the correct, matching v5 commit hash. | ||
| # ============================================================================== | ||
|
|
||
| version: 2 | ||
| updates: | ||
| # Enable automatic tracking for GitHub Actions dependencies | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "monthly" | ||
| cooldown: | ||
| default-days: 7 | ||
|
|
||
| # Ignore rules to block major version jumps | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: ["version-update:semver-major"] | ||
|
|
||
| groups: | ||
| # Group all action updates into a single PR to reduce noise | ||
| # Rule applies across every single third-party action used in all workflows | ||
| github-actions-dependencies: | ||
| patterns: | ||
| - "*" |
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
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
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
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
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
Oops, something went wrong.
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.