Monthly contributor report #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Monthly contributor report | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 1 * *' | |
permissions: | |
contents: read | |
jobs: | |
contributor_report: | |
name: contributor report | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Run contributor action | |
uses: reubenj/[email protected] | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
START_DATE: "" | |
END_DATE: "" | |
ORGANIZATION: Herb-AI | |
SPONSOR_INFO: "True" | |
LINK_TO_PROFILE: "True" | |
- name: Rename file and remove JSON | |
shell: bash | |
run: | | |
rm contributors.json | |
mv contributors.md CONTRIBUTORS.md | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: Update CONTRIBUTORS.md | |
branch: update-contributors | |
title: Update CONTRIBUTORS.md | |
body: | | |
Updates to `CONTRIBUTORS.md`. | |
Auto-generated by [`create-pull-request`](https://github.com/peter-evans/create-pull-request). |