Repository navigation
Add templates #277
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
Add templates #277
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
0c85c0a
Put template include entries in alphabetical order, except for files …
pp-mo 31bd6eb
Add templating for ncdata and run-doctests.
pp-mo d2f6a2b
Add template for ci-template-check.yml.
pp-mo 0b6b4ed
Fix json formatting.
pp-mo 0303e82
Add initial version run_doctests.py
pp-mo 54ef1cb
Typo
pp-mo 1fccdfe
Support comments in templates json, and explain the structure.
pp-mo 9bdccd2
Fix wrong action names.
pp-mo 9e478fa
Add template-check to the run-doctests repo.
pp-mo 0a73493
Merge remote-tracking branch 'upstream/main' into add_templatechecks
pp-mo efc100f
Remove 'publiconly' option from run_doctests.
pp-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
Some comments aren't visible on the classic Files Changed page.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Checks if a PR makes any changes that ought to be shared via templating. | ||
| # See the called workflow in the scitools/workflows repo for more details. | ||
|
|
||
| name: ci-template-check | ||
|
|
||
| on: | ||
| pull_request_target: # zizmor: ignore[dangerous-triggers] | ||
| branches: | ||
| - main | ||
|
|
||
| permissions: {} | ||
|
|
||
| jobs: | ||
| prompt-share: | ||
| uses: scitools/workflows/.github/workflows/ci-template-check.yml@28aea7a3a1eb58e1bbf9b1d9c8cb2de07892b67e | ||
|
stephenworsley marked this conversation as resolved.
Resolved
|
||
| secrets: | ||
| AUTH_APP_ID: ${{ secrets.AUTH_APP_ID }} | ||
| AUTH_APP_PRIVATE_KEY: ${{ secrets.AUTH_APP_PRIVATE_KEY }} | ||
| with: | ||
| pr_number: ${{ github.event.pull_request.number }} | ||
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.