Skip to content

[NEW FEATURE]Choose which identity matching algorithm has to be run #40

[NEW FEATURE]Choose which identity matching algorithm has to be run

[NEW FEATURE]Choose which identity matching algorithm has to be run #40

Workflow file for this run

name: Improve Issue Workflow
on:
issues:
types: [labeled]
jobs:
process-issue:
if: github.event.label.name == 'AI-issue'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install Dependencies
run: npm install
- name: Process Issue
uses: ./
if: >
github.event.action == 'labeled' &&
contains(github.event.issue.labels.*.name, 'AI-issue') &&
!(contains(join(github.event.issue.labels.*.name, ','), 'AI-issue') && contains(fromJson(steps.check-labeled.outputs.result).labels, 'AI-issue'))
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.GPT_KEY }}
with:
ai_model: 'gpt-4-1106-preview'
max_tokens: '1000'