[Scale] Migrate to new variant structure #3116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Triage Bot | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
triage-issue: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/github-script@v6 | |
with: | |
script: | | |
const config = require('./.github/triage-bot.config.json'); | |
const run = require('./scripts/triage-bot'); | |
await run({github,context,core,config}); |