All OPTIONS requests return 400 bad request #1509
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 Issues with AI | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
triage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Setup corepack | |
run: | | |
npm i -g [email protected] | |
corepack enable | |
- name: 'Send report to Slack (AI-powered)' | |
run: node ./.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js | |
env: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} | |
VERCEL_PROTECTION_BYPASS: ${{ secrets.VERCEL_PROTECTION_BYPASS }} |