File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
template/{% if HasWorkflows %}.github{% endif %}/workflows Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 88 runs-on: ubuntu-latest
99 steps:
1010 - uses: actions/checkout@v4
11+
1112{%- if AddCitation %}
1213 - name: Create citation data issue
1314 uses: JasonEtco/create-an-issue@v2
@@ -122,3 +123,14 @@ jobs:
122123 git commit -am "Cleanup automated next steps issue generator for sonarcloud"
123124 git push
124125{%- endif %}
126+
127+ {%- if AddCitation or AddLinting or AddOnlineDocumentation or AddZenodo or AddSonarCloud %}
128+ - name: Cleanup files needed to create next steps issues
129+ run: |
130+ git config --global user.name 'NLeSC Python template'
131+ git config --global user.email 'nlesc-python-template@users.noreply.github.com'
132+ git pull # other next step workflows may push changes before
133+ git rm .github/workflows/next_steps.yml
134+ git commit -am "Cleanup automated next steps issue generator"
135+ git push
136+ {%- endif %}
You can’t perform that action at this time.
0 commit comments