-
Notifications
You must be signed in to change notification settings - Fork 85
469-Make zenodo optional #520
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
1bddfa3
Make zenodo optional
lyashevska 763da56
Add changelog and profiles
lyashevska 64d5aa6
Rename and move next_steps_zenodo_issue
lyashevska fb934b2
Change zenodo question
lyashevska 81aea58
Fix EOL
lyashevska 06acad3
Add git pull
lyashevska 199333e
Merge branch 'main' into 469-zenodo
lyashevska 1fe296a
Update CHANGELOG.md
lyashevska eb26644
Update copier.yml
lyashevska c5b42e2
Update profiles.md
lyashevska 4169e3f
Update template/README.dev.md.jinja
lyashevska b144b4b
Make badge optional
lyashevska af4a313
Merge branch 'main' into 469-zenodo
lyashevska 65d74ab
Update template/README.dev.md.jinja
lyashevska 13d3540
Update template/README.md.jinja
lyashevska 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
31 changes: 31 additions & 0 deletions
31
template/.github/workflows/{% if AddZenodo %}next_steps_zenodo.yml{% endif %}
This file contains hidden or 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,31 @@ | ||
| on: [push] | ||
| permissions: | ||
| contents: write | ||
| issues: write | ||
| name: Create an issue for Zenodo | ||
| jobs: | ||
| next_steps: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Create Zenodo integration issue | ||
| uses: JasonEtco/create-an-issue@v2 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| filename: .github/workflows/next_steps_zenodo_issue.md | ||
| id: zenodo | ||
| - name: List created issues | ||
| run: | | ||
| echo 'Created issues that must be completed to have fully working Python package: | ||
| * Sonarcloud integration ${{ steps.sonarcloud.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 pull # other next step workflows may push changes before | ||
| git rm .github/workflows/next_steps_zenodo.yml | ||
| git rm .github/workflows/next_steps_zenodo_issue.md | ||
| git commit -am "Cleanup automated next steps issue generator for zenodo" | ||
| git push | ||
|
|
File renamed without changes.
This file contains hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.