Skip to content

Commit

Permalink
Merge pull request #18 from n-kall/contrib
Browse files Browse the repository at this point in the history
build contributors page automatically
  • Loading branch information
aloctavodia authored Sep 11, 2024
2 parents fa58f58 + c56978c commit 6ab4cd7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches:
- main

jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contrib in readme
permissions:
contents: write
pull-requests: write
steps:
- name: Contribute List
uses: akhilmhdh/contributors-readme-action@v2.3.10
with:
readme_path: contributors.md
commit_message: 'updated contributors.md'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ website:
- hierarchical_regression/r2d2m2.qmd
- text: "Tools"
href: tools.qmd
- text: "Contributors"
href: contributors.md

format:
html:
Expand Down
2 changes: 2 additions & 0 deletions contributors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- readme: contributors -start -->
<!-- readme: contributors -end -->

0 comments on commit 6ab4cd7

Please sign in to comment.