Skip to content

invite

invite #4646

Workflow file for this run

name: invite
on:
workflow_call:
secrets:
INVITER_GITHUB_API_TOKEN:
description: GitHub API token
required: true
repository_dispatch:
types: [invite]
workflow_dispatch:
pull_request:
jobs:
invite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.18'
- name: Invite
env:
INVITER_GITHUB_API_TOKEN: ${{ secrets.INVITER_GITHUB_API_TOKEN }}
run: |
DEBUG=1 go run main.go -dry-run=${{ github.event_name == 'pull_request' }}