Skip to content

Commit

Permalink
Manual update of contributors list (#3325)
Browse files Browse the repository at this point in the history
* Create manually-update-contributors-list

* Update and rename manually-update-contributors-list to manual-update-contributors-li.yamlst

* Update build.yaml

* Rename manual-update-contributors-li.yamlst to manual-update-contributors-li.yaml

* Rename manual-update-contributors-li.yaml to manual-update-contributors-list.yaml

* Update README.md
  • Loading branch information
caco3 authored Oct 8, 2024
1 parent 2a4f0f4 commit f1979a1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,27 +390,6 @@ jobs:
# git push origin HEAD:master


#########################################################################################
## Update Contributors List in README.md on a release
#########################################################################################
contrib-readme-job:
if: github.event_name == 'release' && github.event.action == 'published' # Only run on release but not on prerelease
needs: [prepare-release]
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Contribute List
uses: akhilmhdh/[email protected]
with:
image_size: 50
use_username: true
columns_per_row: 8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


#########################################################################################
## Update the Web Installer on a release
#########################################################################################
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/manual-update-contributors-list.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This updates the Contributors list in the README.md
# it only gets run on:
# - Manually triggered

name: Manually update contributors list

on:
workflow_dispatch: # Run on manual trigger

jobs:
manually-update-contributors-list:
runs-on: ubuntu-latest
name: A job to automatically update the contributors list in the README.md
permissions:
contents: write
pull-requests: write
steps:
- name: Contribute List
uses: akhilmhdh/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,6 @@ There are some ideas and feature requests which are not currently being pursued
---

## Our Contributors ❤️
<!--
<!-- Do not manually edit this section! It should get updated using the Github action "Manually update contributors list" -->
<!-- readme: contributors -start -->
<!-- readme: contributors -end -->

0 comments on commit f1979a1

Please sign in to comment.