-
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
Merged
Merged
Changes from 19 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f728bd2
update the file list in profiles.md
fdiblen 9e2ea38
add citation question
fdiblen e4195c3
create CITATION.cff conditionally
fdiblen 08e3d95
create cffconvert.yml workflow conditionally
fdiblen aaf7cc8
add a next steps workflow that creates an issue only about citation
fdiblen 94640d6
remove citation job from the next steps workflow
fdiblen 3d61285
fix the name of CITATION.cff file
fdiblen 1fc88bc
update the changelog
fdiblen 008596a
fix escape character issues in next_steps*.yml files
fdiblen b5c84a2
add missing single quote to citation workflow
fdiblen 6415959
add missing single quote to citation workflow
fdiblen 4070729
create .github/next_steps/02_citation.md conditionally
fdiblen 0d96a24
include CITATION.cff in MANIFEST.in conditionally
fdiblen 1fc3969
include CITATION.cff in bumversion conditionally
fdiblen 3e9f2ca
show cffconvert badge conditionally
fdiblen 1b68ffb
show citation-related text conditionally
fdiblen 43a6ccf
update jinja conditions to fix whitespace and new lines for citation …
fdiblen 512b136
fix merge conflicts
fdiblen 566fe84
update the changelog
fdiblen 06c4823
fix merge conflicts
fdiblen 63800fe
update the citation link to make linter happy
fdiblen b1a6456
fix merge conflicts
fdiblen a0d7b16
remove the duplicate line in README.dev.md.jinja
fdiblen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
File renamed without changes.
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
File renamed without changes.
29 changes: 29 additions & 0 deletions
29
template/.github/workflows/{% if AddCitation %}next_steps_citation.yml{% endif %}
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,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 'nlesc-python-template@users.noreply.github.com' | ||
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 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
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
{% if AddCitation -%}include CITATION.cff{%- endif %} | ||
include LICENSE | ||
include NOTICE | ||
include README.md |
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
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
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
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
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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