File tree Expand file tree Collapse file tree 4 files changed +107
-385
lines changed Expand file tree Collapse file tree 4 files changed +107
-385
lines changed Original file line number Diff line number Diff line change
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.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import js from "@eslint/js";
3
3
import globals from "globals" ;
4
4
import tseslint from "typescript-eslint" ;
5
5
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended" ;
6
- import vitestPlugin from "eslint-plugin-vitest " ;
6
+ import vitestPlugin from "@vitest/ eslint-plugin" ;
7
7
8
8
const testFiles = [ "tests/**/*.test.ts" , "tests/**/*.ts" ] ;
9
9
You can’t perform that action at this time.
0 commit comments