Skip to content

Commit

Permalink
ci: use contributors-readme-action
Browse files Browse the repository at this point in the history
  • Loading branch information
lrkkr committed Jun 6, 2024
1 parent 9c250df commit 60b1520
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,11 @@ jobs:
name: contributor report
runs-on: ubuntu-latest
permissions:
issues: write
contents: write
pull-requests: write

steps:
- name: Set dates
shell: bash
run: |
start_date=2022-01-01
end_date=$(date +%Y-%m-%d)
echo "START_DATE=$start_date" >> "$GITHUB_ENV"
echo "END_DATE=$end_date" >> "$GITHUB_ENV"
- name: Contributors Action
uses: github/[email protected]
- name: Contribute List
uses: akhilmhdh/[email protected]
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
REPOSITORY: ${{ github.repository }}

- name: Create issue
uses: peter-evans/create-issue-from-file@v5
with:
title: Contributor report
token: ${{ secrets.GH_TOKEN }}
content-filepath: ./contributors.md
assignees: ${{ github.repository_owner }}
labels: |
report
automated issue
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 60b1520

Please sign in to comment.