Skip to content

Commit 6295366

Browse files
authored
Merge pull request #506 from NLeSC/461_next_steps
461-reorganizes the next step files for citation and online documentation
2 parents 1d454b0 + 8e560ee commit 6295366

4 files changed

Lines changed: 9 additions & 7 deletions

template/.github/workflows/{% if AddCitation %}next_steps_citation.yml{% endif %}

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515
with:
16-
filename: .github/next_steps/02_citation.md
16+
filename: .github/workflows/next_steps_citation_issue.md
1717
id: citation
1818
- name: List created issues
1919
run: |
@@ -23,7 +23,8 @@ jobs:
2323
run: |
2424
git config --global user.name 'NLeSC Python template'
2525
git config --global user.email 'nlesc-python-template@users.noreply.github.com'
26+
git pull # other next step workflows may push changes before
2627
git rm .github/workflows/next_steps_citation.yml
27-
git rm -r .github/next_steps
28-
git commit -am "Cleanup automated next steps issue generator"
28+
git rm .github/workflows/next_steps_citation_issue.md
29+
git commit -am "Cleanup automated next steps issue generator for citation"
2930
git push

template/.github/next_steps/{% if AddCitation %}02_citation.md{% endif %}.jinja renamed to template/.github/workflows/{% if AddCitation %}next_steps_citation_issue.md{% endif %}.jinja

File renamed without changes.

template/.github/workflows/{% if AddOnlineDocumentation %}next_steps_online_documentation.yml{% endif %}

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- name: Create readthedocs issue
11+
- name: Create online documentation issue
1212
uses: JasonEtco/create-an-issue@v2
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515
with:
16-
filename: .github/next_steps/03_readthedocs.md
16+
filename: .github/workflows/next_steps_online_documentation_issue.md
1717
id: readthedocs
1818
- name: List created issues
1919
run: |
@@ -23,7 +23,8 @@ jobs:
2323
run: |
2424
git config --global user.name 'NLeSC Python template'
2525
git config --global user.email 'nlesc-python-template@users.noreply.github.com'
26+
git pull # other next step workflows may push changes before
2627
git rm .github/workflows/next_steps_online_documentation.yml
27-
git rm -r .github/next_steps
28-
git commit -am "Cleanup automated next steps issue generator"
28+
git rm .github/workflows/next_steps_online_documentation_issue.md
29+
git commit -am "Cleanup automated next steps issue generator for online documentation"
2930
git push

template/.github/next_steps/{% if AddOnlineDocumentation %}03_readthedocs.md{% endif %}.jinja renamed to template/.github/workflows/{% if AddOnlineDocumentation %}next_steps_online_documentation_issue.md{% endif %}.jinja

File renamed without changes.

0 commit comments

Comments
 (0)