Skip to content

v0.3 release

v0.3 release #1

Workflow file for this run

name: JambuBot
on:
issues:
types: [opened, edited]
pull_request:
types: [opened, synchronize]
# Cancel in-progress CI jobs if there is a new push
# https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
github-bot:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true # Ensure submodules are checked out
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.18"
- name: Launching JambuBot
run: |
cd examples/github-bot/github-bot/src
go build -o github_bot cmd/main.go
./github_bot
env:
TRIAGE_BOT_APP_ID: ${{ secrets.TRIAGE_BOT_APP_ID }}
TRIAGE_BOT_INSTALLATION_ID: ${{ secrets.TRIAGE_BOT_INSTALLATION_ID }}
TRIAGE_BOT_PRIVATE_KEY: ${{ secrets.TRIAGE_BOT_PRIVATE_KEY }}
TRIAGE_BOT_JAMAI_KEY: ${{ secrets.TRIAGE_BOT_JAMAI_KEY }}
TRIAGE_BOT_JAMAI_PROJECT_ID: ${{ secrets.TRIAGE_BOT_JAMAI_PROJECT_ID }}
TRIAGE_BOT_NAME: ${{github.actor}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT_NAME: ${{ github.event_name }}
GITHUB_EVENT_PATH: ${{ github.event_path }}