Skip to content

Commit 33cffb0

Browse files
authored
add extra steps
1 parent ee43f9a commit 33cffb0

1 file changed

Lines changed: 35 additions & 7 deletions

File tree

{{cookiecutter.project_name}}/.github/workflows/next_steps.yml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,47 @@ jobs:
1212
with:
1313
filename: .github/next_steps/01_sonarcloud_integration.md
1414
id: sonarcloud
15+
- name: Create Zenodo integration issue
16+
uses: JasonEtco/create-an-issue@v2
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
with:
20+
filename: .github/next_steps/02_zenodo_integration.md
21+
id: zenodo
22+
- name: Create readthedocs issue
23+
uses: JasonEtco/create-an-issue@v2
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
filename: .github/next_steps/03_readthedocs.md
28+
id: readthedocs
29+
- name: Create citation data issue
30+
uses: JasonEtco/create-an-issue@v2
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
with:
34+
filename: .github/next_steps/04_citation.md
35+
id: citation
36+
- name: Create linting issue
37+
uses: JasonEtco/create-an-issue@v2
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
with:
41+
filename: .github/next_steps/05_linting.md
42+
id: linting
1543
- name: List created issues
1644
run: |
17-
echo 'Created issues that must be completed to have fully working Python package:'
18-
echo '* ${{ steps.sonarcloud.outputs.url }}'
19-
echo '* ${{ steps.sonarcloud.outputs.url }}'
20-
echo '* ${{ steps.sonarcloud.outputs.url }}'
21-
echo '* ${{ steps.sonarcloud.outputs.url }}'
22-
echo '* ${{ steps.sonarcloud.outputs.url }}'
23-
echo '* ${{ steps.sonarcloud.outputs.url }}'
45+
echo 'Created issues that must be completed to have fully working Python package:' | tee -a next_steps.md
46+
echo '* ${{ steps.sonarcloud.outputs.url }}' | tee -a next_steps.md
47+
echo '* ${{ steps.zenodo.outputs.url }}' | tee -a next_steps.md
48+
echo '* ${{ steps.readthedocs.outputs.url }}' | tee -a next_steps.md
49+
echo '* ${{ steps.citation.outputs.url }}' | tee -a next_steps.md
50+
echo '* ${{ steps.linting.outputs.url }}' | tee -a next_steps.md
2451
- name: Cleanup files needed to create next steps issues
2552
run: |
2653
git config --global user.name 'Your Name'
2754
git config --global user.email 'your-username@users.noreply.github.com'
55+
git add next_steps.md
2856
git rm .github/workflows/next_steps.yml
2957
git rm -r .github/next_steps
3058
git commit -am "Cleanup automated next step issue generator"

0 commit comments

Comments
 (0)