-
Notifications
You must be signed in to change notification settings - Fork 73
/
next_steps.yml
62 lines (61 loc) · 2.34 KB
/
next_steps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
on: [push]
permissions:
contents: write
issues: write
name: Create issues for next steps
jobs:
next_steps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create Sonarcloud integration issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ '{{ ' -}} secrets.GITHUB_TOKEN }}
with:
filename: .github/next_steps/01_sonarcloud_integration.md
id: sonarcloud
- 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: Create readthedocs issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ '{{ ' -}} secrets.GITHUB_TOKEN }}
with:
filename: .github/next_steps/03_readthedocs.md
id: readthedocs
- name: Create Zenodo integration issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ '{{ ' -}} secrets.GITHUB_TOKEN }}
with:
filename: .github/next_steps/04_zenodo_integration.md
id: zenodo
- name: Create linting issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ '{{ ' -}} secrets.GITHUB_TOKEN }}
with:
filename: .github/next_steps/05_linting.md
id: linting
- name: List created issues
run: |
echo 'Created issues that must be completed to have fully working Python package:
* Sonarcloud integration ${{ '{{ ' -}} steps.sonarcloud.outputs.url }}
* Zenodo integration ${{ '{{ ' -}} steps.zenodo.outputs.url }}
* Read the Docs instructions ${{ '{{ ' -}} steps.readthedocs.outputs.url }}
* Citation data ${{ '{{ ' -}} steps.citation.outputs.url }}
* Linting fixes ${{ '{{ ' -}} steps.linting.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.yml
git rm -r .github/next_steps
git commit -am "Cleanup automated next steps issue generator"
git push