Skip to content

kbrashears5/github-action-auto-accept-collabs

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-action-auto-accept-collabs

Github Action to auto accept all collaboration invites

version

Use Cases

Auto accept all collaboration invites. Useful for a bot account

Setup

Create a new file called /.github/workflows/auto-accept-collabs.yml that looks like so:

name: Auto Accept Collabs

on:
  push:
    branches:
      - master
  schedule:
    - cron: 0 0 * * *

jobs:
  file_sync:
    runs-on: ubuntu-latest
    steps:
      - name: Fetching Local Repository
        uses: actions/checkout@master
      - name: Auto Accept Collabs
        uses: kbrashears5/[email protected]
        with:
          TOKEN: ${{ secrets.ACTIONS }}

Parameters

Parameter Required Description
TOKEN true Personal Access Token with Repo scope