Skip to content

Commit ef525ee

Browse files
authored
Use username for contributors (pypsa-meets-earth#1282)
* Use username for contributors * Workflow dispatch bypass contributor workflow
1 parent a0971d5 commit ef525ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ jobs:
77
contrib-readme-job:
88
runs-on: ubuntu-latest
99
name: A job to automate contrib in readme
10-
if: ${{ github.repository_owner == 'pypsa-meets-earth' && github.ref == 'refs/heads/main'}}
10+
if: ${{ github.event_name == 'workflow_dispatch' || (github.repository_owner == 'pypsa-meets-earth' && github.ref == 'refs/heads/main')}}
1111
steps:
1212
- name: Contribute List
1313
uses: akhilmhdh/[email protected]
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
with:
17+
use_username: true

0 commit comments

Comments
 (0)