Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/okp4/follow-contributor-action

Github action to follow a contributor.
https://github.com/okp4/follow-contributor-action

community followers github-actions

Last synced: 3 months ago
JSON representation

Github action to follow a contributor.

Awesome Lists containing this project

README

        

# Follow user github action

[![lint](https://img.shields.io/github/actions/workflow/status/okp4/follow-contributor-action/lint.yml?label=lint&style=for-the-badge&logo=github)](https://github.com/okp4/follow-contributor-action/actions/workflows/lint.yml)
[![conventional commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=for-the-badge&logo=conventionalcommits)](https://conventionalcommits.org)
[![contributor covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?style=for-the-badge)](https://github.com/okp4/.github/blob/main/CODE_OF_CONDUCT.md)
[![license](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg?style=for-the-badge)](https://opensource.org/licenses/BSD-3-Clause)

A github action that can be used to automatically follow your projects contributors

## How to use it

```yaml
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.

## You want to get involved? 😍

Please check out OKP4 health files :

- [Contributing](https://github.com/okp4/.github/blob/main/CONTRIBUTING.md)
- [Code of conduct](https://github.com/okp4/.github/blob/main/CODE_OF_CONDUCT.md)