diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml new file mode 100644 index 00000000000..69566ea44ca --- /dev/null +++ b/.github/workflows/post-release.yml @@ -0,0 +1,89 @@ +# For more information about TARDIS pipelines, please refer to: +# +# https://tardis-sn.github.io/tardis/development/continuous_integration.html + +name: post-release + +on: + release: + types: [published] + + workflow_dispatch: # manual trigger + +jobs: + changelog: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + repository: tardis-sn/tardis + token: ${{ secrets.BOT_TOKEN }} + fetch-depth: 0 + + - name: Install github-changes + run: sudo npm install -g github-changes + + - name: Update changelog + run: github-changes -o tardis-sn -r tardis --only-pulls --use-commit-body -f CHANGELOG.md -k ${{ secrets.BOT_TOKEN }} + + - uses: actions/upload-artifact@v3 + with: + name: changelog + path: CHANGELOG.md + + citation: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup Python + uses: actions/setup-python@v3 + with: + python-version: '3.x' + + - name: Install doi2cff + run: pip install git+https://github.com/citation-file-format/doi2cff + + - name: Update CITATION.cff + run: doi2cff update 10.5281/zenodo.592480 + + - uses: actions/upload-artifact@v3 + with: + name: citation + path: CITATION.cff + + pull_request: + needs: [changelog, citation] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: actions/download-artifact@v3 + with: + path: /tmp + + - name: Copy files to repository + run: | + cp /tmp/changelog/CHANGELOG.md . + cp /tmp/citation/CITATION.cff . + + - name: Get current date + run: echo "DATE=$(date +'%Y.%m.%d')" >> $GITHUB_ENV + + - uses: peter-evans/create-pull-request@v4 + with: + token: ${{ secrets.BOT_TOKEN }} + committer: TARDIS Bot + author: TARDIS Bot + branch: post-release-${{ env.DATE }} + push-to-fork: tardis-bot/tardis + commit-message: Automated changes for post-release ${{ env.DATE }} + title: Post-release ${{ env.DATE }} + body: | + *\*beep\* \*bop\** + + Hi, human. + + These are the changes required after the latest TARDIS release. + labels: documentation, + reviewers: wkerzendorf, andrewfullard, epassaro diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000000..fdc692b1fc2 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,186 @@ +# YAML 1.2 +# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/) +cff-version: 1.0.3 +message: If you use this software, please cite it using these metadata. +# FIXME title as repository name might not be the best name, please make human readable +title: 'tardis-sn/tardis: TARDIS v2022.4.24' +doi: 10.5281/zenodo.6480576 +# FIXME splitting of full names is error prone, please check if given/family name are correct +authors: +- given-names: Wolfgang + family-names: Kerzendorf + affiliation: Michigan State University + orcid: https://orcid.org/0000-0002-0479-7235 +- given-names: Stuart + family-names: Sim + affiliation: Queen's University Belfast + orcid: https://orcid.org/0000-0002-9774-1192 +- given-names: Christian + family-names: Vogl + affiliation: Max-Planck-Institut für Astrophysik + orcid: https://orcid.org/0000-0002-7941-5692 +- given-names: Marc + family-names: Williamson + affiliation: New York University + orcid: https://orcid.org/0000-0003-2544-4516 +- given-names: Ezequiel + family-names: Pássaro + orcid: https://orcid.org/0000-0002-3707-1975 +- given-names: Andreas + family-names: Flörs + affiliation: Max-Planck-Institut für Astrophysik + orcid: https://orcid.org/0000-0003-2024-2819 +- given-names: Yssa + family-names: Camacho + orcid: https://orcid.org/0000-0002-9830-3880 +- given-names: Vytautas + family-names: Jančauskas + orcid: https://orcid.org/0000-0002-6051-210X +- given-names: Alice + family-names: Harpole + affiliation: Stony Brook University + orcid: https://orcid.org/0000-0002-1530-781X +- given-names: Ulrich + family-names: Nöbauer + affiliation: Max-Planck-Institut für Astrophysik + orcid: https://orcid.org/0000-0002-2453-853X +- given-names: Stefan + family-names: Lietzau + orcid: https://orcid.org/0000-0002-7131-3341 +- given-names: Mikhail + family-names: Mishin +- given-names: Fotis + family-names: Tsamis + affiliation: National Observatory of Athens + orcid: https://orcid.org/0000-0003-4875-1623 +- given-names: Aoife + family-names: Boyle +- given-names: Luke + family-names: Shingles +- given-names: Vaibhav + family-names: Gupta +- given-names: Karan + family-names: Desai +- given-names: Michael + family-names: Klauser +- given-names: Frederik + family-names: Beaujean + affiliation: Ludwig-Maximilians-Universität München Fakultät für Physik + orcid: https://orcid.org/0000-0001-9901-8785 +- given-names: Adam + family-names: Suban-Loewen +- given-names: Epson + family-names: Heringer + affiliation: University of Toronto + orcid: https://orcid.org/0000-0002-1502-9127 +- given-names: Barnabás + family-names: Barna +- given-names: Gaurav + family-names: Gautam +- given-names: Andrew + family-names: Fullard + affiliation: Michigan State University + orcid: https://orcid.org/0000-0001-7343-1678 +- given-names: Kevin + family-names: Cawley +- given-names: Jaladh + family-names: Singhal + affiliation: Python Software Foundation (StarKit) + orcid: https://orcid.org/0000-0002-8310-0829 +- given-names: Isaac + family-names: Smith +- given-names: Talytha + family-names: Barbosa +- given-names: Dhruv + family-names: Sondhi +- given-names: Maryam + family-names: Patel +- given-names: Kaushik + family-names: Varanasi +- given-names: James + family-names: Gillanders + orcid: https://orcid.org/0000-0002-8094-6108 +- given-names: Atharva + family-names: Arya +- given-names: Jack + family-names: O'Brien +- given-names: Youssef + family-names: Eweis +- given-names: Martin + family-names: Reinecke +- given-names: Tomas + family-names: Bylund +- given-names: Laud + family-names: Bentil +- given-names: Arjun + family-names: Savel +- given-names: Jenny + family-names: Yu +- given-names: Jordi + family-names: Eguren + orcid: https://orcid.org/0000-0002-2328-8030 +- given-names: Arib + family-names: Alam +- given-names: Mark + family-names: Magee +- given-names: Ran + family-names: Livneh +- given-names: Srinath + family-names: Rajagopalan +- given-names: Sashank + family-names: Mishra + orcid: https://orcid.org/0000-0001-8302-1584 +- given-names: John + family-names: Reichenbach +- given-names: Rinkle + family-names: Jain +- given-names: Andreas + family-names: Floers +- given-names: Antreev + family-names: Brar +- given-names: Sourav + family-names: Singh +- given-names: Chinmay + family-names: Talegaonkar +- given-names: Nathan + family-names: Kowalski +- given-names: Jonatan + family-names: Selsing +- given-names: Caroline + family-names: Sofiatti +- given-names: Yash + family-names: Aggarwal +- given-names: Nance + family-names: Sarafina +- given-names: Nilesh + family-names: Patra +- given-names: Parikshit + family-names: Singh Rathore +- given-names: Pratik + family-names: Patel +- given-names: Sampark + family-names: Sharma +- given-names: Suyash + family-names: Gupta +- given-names: Ujjwal + family-names: Wahi +- given-names: Morgan + family-names: Sandler +- given-names: Dmitry + family-names: Volodin +- given-names: Debajyoti + family-names: Dasgupta +- given-names: Kevin + family-names: Yap +- given-names: Atharwa + family-names: Kharkar +- given-names: Ashwin + family-names: Nayak U +- given-names: Chaitanya + family-names: Kolliboyina +- given-names: Atul + family-names: Kumar +version: release-2022.4.24 +date-released: 2022-04-24 +repository-code: https://github.com/tardis-sn/tardis +license: other-open