diff --git a/.github/workflows/changelog_test.yml b/.github/workflows/changelog_test.yml new file mode 100644 index 000000000..32cfe8671 --- /dev/null +++ b/.github/workflows/changelog_test.yml @@ -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 + diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d0ba8f21a..358237414 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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. + + + +