-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1075 from alphasentaurii/revise-changelog
changelog/rebase-from-master
- Loading branch information
Showing
13 changed files
with
171 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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,27 @@ | ||
<!-- If this PR closes a JIRA ticket, make sure the title starts with the JIRA issue number, | ||
for example JP-1234: <Fix a bug> --> | ||
Resolves [CCD-nnnn](https://jira.stsci.edu/browse/CCD-nnnn) | ||
|
||
<!-- If this PR closes a GitHub issue, reference it here by its number --> | ||
Closes # | ||
|
||
<!-- describe the changes comprising this PR here --> | ||
This PR addresses ... | ||
|
||
<!-- if you can't perform these tasks due to permissions, please ask a maintainer to do them --> | ||
## Tasks | ||
- [ ] update or add relevant tests | ||
- [ ] update relevant docstrings and / or `docs/` page | ||
- [ ] Does this PR change any API used downstream? (if not, label with `no-changelog-entry-needed`) | ||
- [ ] write news fragment(s) in `changes/`: `echo "changed something" > changes/<PR#>.<changetype>.rst` (see below for change types) | ||
|
||
<details><summary>news fragment change types...</summary> | ||
|
||
- ``changes/<PR#>.hst.rst``: HST reference files | ||
- ``changes/<PR#>.jwst.rst``: JWST reference files | ||
- ``changes/<PR#>.roman.rst``: Roman reference files | ||
- ``changes/<PR#>.doc.rst``: documentation change | ||
- ``changes/<PR#>.testing.rst``: change to tests or test automation | ||
- ``changes/<PR#>.general.rst``: infrastructure or miscellaneous change | ||
</details> | ||
|
This file contains 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 |
---|---|---|
@@ -1,20 +1,30 @@ | ||
name: Changelog | ||
name: changelog | ||
|
||
on: | ||
pull_request: | ||
types: [labeled, unlabeled, opened, synchronize, reopened] | ||
branches: | ||
- master | ||
types: | ||
- labeled | ||
- unlabeled | ||
- opened | ||
- synchronize | ||
- reopened | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
changelog: | ||
name: Confirm changelog entry | ||
check: | ||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
- name: Grep for PR number in CHANGES.rst | ||
run: grep -P '\[[^\]]*#${{github.event.number}}[,\]]' CHANGES.rst | ||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }} | ||
- run: pip install . | ||
- run: pip install towncrier | ||
- run: towncrier check | ||
- run: towncrier build --draft | grep -P '#${{ github.event.number }}' |
This file contains 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 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 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 @@ | ||
|
This file contains 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 @@ | ||
use ``towncrier`` to handle change log entries |
This file contains 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 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 was deleted.
Oops, something went wrong.
This file contains 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 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,35 @@ | ||
{ | ||
"DMS4": [ | ||
"test.certify.test_certify.test_certify_roman_invalid_asdf_schema", | ||
"test.certify.test_certify.test_certify_roman_invalid_asdf_tpn", | ||
"test.certify.test_certify.test_certify_roman_valid_asdf" | ||
], | ||
"DMS5": [ | ||
"test.certify.test_certify.test_certify_roman_invalid_spec_asdf_schema", | ||
"test.certify.test_certify.test_certify_roman_invalid_spec_asdf_tpn", | ||
"test.certify.test_certify.test_certify_roman_valid_spec_asdf" | ||
], | ||
"DMS6": [ | ||
"test.certify.test_certify.test_certify_roman_duplicate_rmap_case_error", | ||
"test.certify.test_certify.test_certify_roman_invalid_rmap_tpn", | ||
"test.certify.test_certify.test_certify_roman_rmap_compare", | ||
"test.certify.test_certify.test_checksum_roman_duplicate_rmap_case_error" | ||
], | ||
"DMS16": [ | ||
"test.roman.test_roman.test_getreferences_with_invalid_header", | ||
"test.roman.test_roman.test_getreferences_with_valid_header_ISOT_fmt", | ||
"test.roman.test_roman.test_getreferences_with_valid_header_ISO_fmt" | ||
], | ||
"DMS25": [ | ||
"test.roman.test_roman.test_getreferences_with_valid_header_ISOT_fmt", | ||
"test.roman.test_roman.test_getreferences_with_valid_header_ISO_fmt", | ||
"test.roman.test_roman.test_list_references" | ||
], | ||
"DMS26": [ | ||
"test.roman.test_roman.test_getreferences_with_valid_header_ISO_fmt", | ||
"test.roman.test_roman.test_list_references" | ||
], | ||
"DMS114": [ | ||
"test.roman.test_roman.test_list_references" | ||
] | ||
} |
This file contains 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.