Skip to content

Commit b7c616a

Browse files
committed
Merge branch 'main' into MCP-42
2 parents db23253 + fd3f2a4 commit b7c616a

File tree

4 files changed

+107
-385
lines changed

4 files changed

+107
-385
lines changed

.github/workflows/jira-issue.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Create JIRA ticket for new issues
3+
4+
on:
5+
issues:
6+
types: [opened]
7+
8+
permissions:
9+
issues: write
10+
contents: read
11+
jobs:
12+
jira_task:
13+
name: Create Jira issue
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
17+
with:
18+
config: ${{ vars.PERMISSIONS_CONFIG }}
19+
- name: Create JIRA ticket
20+
uses: mongodb/apix-action/create-jira@v8
21+
id: create
22+
with:
23+
token: ${{ secrets.JIRA_API_TOKEN }}
24+
project-key: MCP
25+
summary: "HELP: GitHub Issue n. ${{ github.event.issue.number }}"
26+
issuetype: Story
27+
description: "This ticket tracks the following GitHub issue: ${{ github.event.issue.html_url }}."
28+
components: MCP
29+
- name: Add comment
30+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
31+
with:
32+
issue-number: ${{ github.event.issue.number }}
33+
body: |
34+
Thanks for opening this issue. The ticket [${{ steps.create.outputs.issue-key }}](https://jira.mongodb.org/browse/${{ steps.create.outputs.issue-key }}) was created for internal tracking.

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import js from "@eslint/js";
33
import globals from "globals";
44
import tseslint from "typescript-eslint";
55
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
6-
import vitestPlugin from "eslint-plugin-vitest";
6+
import vitestPlugin from "@vitest/eslint-plugin";
77

88
const testFiles = ["tests/**/*.test.ts", "tests/**/*.ts"];
99

0 commit comments

Comments
 (0)