Skip to content

Commit

Permalink
Merge pull request #562 from bennibbelink/changelog-test
Browse files Browse the repository at this point in the history
Add CHANGELOG test workflow
  • Loading branch information
gonuke authored Nov 28, 2023
2 parents bda3f86 + 9e6ebff commit ba3924b
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 41 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/changelog_test.yml
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
92 changes: 51 additions & 41 deletions CHANGELOG.rst
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.




0 comments on commit ba3924b

Please sign in to comment.