-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
458-Add question for citation files #471
Changes from 22 commits
f728bd2
9e2ea38
e4195c3
08e3d95
aaf7cc8
94640d6
3d61285
1fc88bc
008596a
b5c84a2
6415959
4070729
0d96a24
1fc3969
3e9f2ca
1b68ffb
43a6ccf
512b136
566fe84
06c4823
63800fe
b1a6456
a0d7b16
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
on: [push] | ||
permissions: | ||
contents: write | ||
issues: write | ||
name: Create an issue for citation | ||
jobs: | ||
next_steps: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Create citation data issue | ||
uses: JasonEtco/create-an-issue@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
filename: .github/next_steps/02_citation.md | ||
id: citation | ||
- name: List created issues | ||
run: | | ||
echo 'Created issues that must be completed to have fully working Python package: | ||
* Citation data ${{ steps.citation.outputs.url }}' | ||
- name: Cleanup files needed to create next steps issues | ||
run: | | ||
git config --global user.name 'NLeSC Python template' | ||
git config --global user.email '[email protected]' | ||
git rm .github/workflows/next_steps_citation.yml | ||
git rm -r .github/next_steps | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This might be a problem for jobs running in parallel. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
git commit -am "Cleanup automated next steps issue generator" | ||
git push |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% if AddCitation -%}include CITATION.cff{%- endif %} | ||
include LICENSE | ||
include NOTICE | ||
include README.md |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,9 +133,8 @@ This section describes how to make a release in 3 parts: | |
|
||
### (1/3) Preparation | ||
|
||
{% if AddChangeLog -%} | ||
1. Update the <CHANGELOG.md> (don't forget to update links at bottom of page) | ||
{%- endif %} | ||
{% if AddChangeLog -%}1. Update the <CHANGELOG.md> (don't forget to update links at bottom of page).{%- endif %} | ||
{% if AddCitation -%}1. Verify that the information in [`CITATION.cff`](CITATION.cff) is correct.{%- endif %} | ||
1. Verify that the information in [`CITATION.cff`](CITATION.cff) is correct. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line is a duplicate. Should be removed. |
||
1. Make sure the [version has been updated](#versioning). | ||
1. Run the unit tests with `pytest -v` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing
'
at the end of the lineThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done