Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.
/ behest Public archive
generated from actions/typescript-action

Execute functions from GitHub Issue comments

License

Notifications You must be signed in to change notification settings

ActionsDesk/behest

Repository files navigation

ActionsDesk Behest

Enable commands in GitHub Issue comments

Usage

Actions Workflow

---
name: Testing behest
on:
  issue_comment:
    types: [created]

jobs:
  behest:
    runs-on: ubuntu-latest
    
    steps:
      - uses: ActionsDesk/behest@v1
        with:
          # optional; comma-separated list of teams who can run commands
          # If this is not set, user must be admin
          teams: "team1,team2"
          # token used for interacting with Issues as actions-bot
          token: ${{ secrets.GITHUB_TOKEN }}
          # token used for elevated operations against Org
          admin_token: ${{ secrets.ADMIN_TOKEN }}

Invoking Commands

See COMMANDS.md

Developing Behest

Read the development for more info.