Skip to content

update-contributors

update-contributors #5

name: update-contributors
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
update-contributors:
name: validate-pull-request-title
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: update-contributors
uses: kontrolplane/[email protected]
with:
owner: kontrolplane
repository: pull-request-title-validator
- name: open-pull-request
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name github-actions
git config user.email [email protected]
git add README.md
git commit -m "chore: update contributors section"
git push -u origin update-contributors
gh pr create \
--title "chore: update contributors" \
--body "Automatically update contributors section." \
--base main \
--head update-contributors