A github action that can be used to automatically follow your projects contributors
name: Follow contributor
on:
pull_request:
branches: [main]
jobs:
follow-user:
runs-on: ubuntu-20.04
steps:
- name: Follow user
uses: okp4/[email protected]
with:
username: ${{ github.event.pull_request.user.login }}
# token allowing user:follow
token: ${{ secrets.FOLLOW_TOKEN }}
If it's not possible to follow the input user, it won't fail as this action is not so vital.
Please check out OKP4 health files :