Skip to content

Commit

Permalink
Use username for contributors (pypsa-meets-earth#1282)
Browse files Browse the repository at this point in the history
* Use username for contributors

* Workflow dispatch bypass contributor workflow
  • Loading branch information
davide-f authored Jan 4, 2025
1 parent a0971d5 commit ef525ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contrib in readme
if: ${{ github.repository_owner == 'pypsa-meets-earth' && github.ref == 'refs/heads/main'}}
if: ${{ github.event_name == 'workflow_dispatch' || (github.repository_owner == 'pypsa-meets-earth' && github.ref == 'refs/heads/main')}}
steps:
- name: Contribute List
uses: akhilmhdh/contributors-readme-action@v2.3.10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
use_username: true

0 comments on commit ef525ee

Please sign in to comment.