-
Notifications
You must be signed in to change notification settings - Fork 40
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 #562 from bennibbelink/changelog-test
Add CHANGELOG test workflow
- Loading branch information
Showing
2 changed files
with
89 additions
and
41 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,38 @@ | ||
name: Changelog check | ||
|
||
on: | ||
# allows us to run workflows manually | ||
workflow_dispatch: | ||
pull_request: | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
jobs: | ||
changelog_update: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: alpine:3.14 | ||
|
||
name: Is Changelog up-to-date ? | ||
steps: | ||
- name: Install latest git | ||
run: | | ||
apk add --no-cache bash git openssh | ||
git --version | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- run: | | ||
git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
cd $GITHUB_WORKSPACE | ||
git remote add cycamore https://github.com/cyclus/cycamore.git | ||
git fetch cycamore | ||
change=`git diff cycamore/main -- CHANGELOG.rst | wc -l` | ||
git remote remove cycamore | ||
if [ $change -eq 0 ]; then | ||
echo "CHANGELOG.rst has not been updated" | ||
exit 1 | ||
fi | ||
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,41 +1,51 @@ | ||
================= | ||
cyclus Change Log | ||
================= | ||
|
||
.. current developments | ||
v1.5.5 | ||
==================== | ||
**Changed:** | ||
|
||
* A reactor will now decommission itself if it is retired and the decomission requirement is met. | ||
|
||
v1.5.4 | ||
==================== | ||
|
||
**Added:** | ||
|
||
* RecordTimeSeries has been added to the several archetypes; Reactor, Source, Sink, | ||
FuelFab, Separations, and Storage. This change was made to allow these agents to | ||
interact with the d3ploy archetypes. | ||
* Added unit tests for Cycamore archetypes with Position toolkit. | ||
|
||
* Record function for Cycamore archetypes' coordinates in Sqlite Output. | ||
|
||
**Changed:** | ||
|
||
- All cycamore archetypes have been edited to now include Cyclus::toolkit::Position. | ||
|
||
|
||
|
||
|
||
v1.5.3 | ||
==================== | ||
|
||
**Changed:** | ||
|
||
* Many build system improvements, including making COIN optional. | ||
|
||
|
||
|
||
|
||
================= | ||
cycamore Change Log | ||
================= | ||
|
||
.. current developments | ||
**Added:** | ||
|
||
* GitHub workflows for building/testing on a PR and push to `main` (#549) | ||
* Add functionality for random behavior on the size of a sink (#550) | ||
* GitHub workflow to check that the CHANGELOG has been updated (#562) | ||
|
||
**Changed:** | ||
|
||
* Updated build procedure to use newer versions of packages in 2023 (#549) | ||
|
||
|
||
v1.5.5 | ||
==================== | ||
**Changed:** | ||
|
||
* A reactor will now decommission itself if it is retired and the decomission requirement is met. | ||
|
||
v1.5.4 | ||
==================== | ||
|
||
**Added:** | ||
|
||
* RecordTimeSeries has been added to the several archetypes; Reactor, Source, Sink, | ||
FuelFab, Separations, and Storage. This change was made to allow these agents to | ||
interact with the d3ploy archetypes. | ||
* Added unit tests for Cycamore archetypes with Position toolkit. | ||
|
||
* Record function for Cycamore archetypes' coordinates in Sqlite Output. | ||
|
||
**Changed:** | ||
|
||
- All cycamore archetypes have been edited to now include Cyclus::toolkit::Position. | ||
|
||
|
||
|
||
|
||
v1.5.3 | ||
==================== | ||
|
||
**Changed:** | ||
|
||
* Many build system improvements, including making COIN optional. | ||
|
||
|
||
|
||
|