Skip to content

Commit dd328ba

Browse files
authored
Merge branch 'main' into joshmgross/release-workflow
2 parents c02e6da + 5bcee03 commit dd328ba

25 files changed

Lines changed: 181 additions & 71 deletions

.eslintrc.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@
99
"plugin:@typescript-eslint/recommended-requiring-type-checking",
1010
"prettier"
1111
],
12+
"ignorePatterns": ["src/external"],
1213
"parser": "@typescript-eslint/parser",
1314
"parserOptions": {
1415
"project": "./tsconfig.json"
1516
},
1617
"plugins": ["@typescript-eslint", "prettier"],
1718
"reportUnusedDisableDirectives": true,
1819
"root": true,
19-
"rules": {
20-
"no-control-regex": "off",
21-
"@typescript-eslint/ban-ts-comment": "off",
22-
"@typescript-eslint/no-inferrable-types": ["warn", {"ignoreParameters": true, "ignoreProperties": true}],
23-
"@typescript-eslint/triple-slash-reference": "off"
24-
}
20+
"rules": {}
2521
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Report a bug or unexpected behavior while using the Actions VS Code extension
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. With this workflow '...'
16+
2. Do this '...'
17+
3. See error
18+
19+
**Expected behavior**
20+
A clear and concise description of what you expected to happen.
21+
22+
**Screenshots**
23+
If applicable, add screenshots to help explain your problem.
24+
25+
**Extension Version**
26+
`v1.x.y`
27+
28+
**Additional context**
29+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Ask a question or provide feedback about the Actions VS Code extension
4+
about: For general Q&A and feedback, see the Discussions tab.
5+
url: https://github.com/github/vscode-github-actions/discussions
6+
- name: Ask a question or provide feedback about GitHub Actions
7+
about: Please check out the GitHub community forum for discussions about GitHub Actions
8+
url: https://github.com/orgs/community/discussions/categories/actions
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for the Actions VS Code extension
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

.github/workflows/build-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3
1616
with:
1717
node-version: 16.x

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
1515
with:
1616
node-version: 16.x
@@ -19,7 +19,10 @@ jobs:
1919
- run: npm ci
2020
env:
2121
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
- run: npm run format-check
23+
- run: npm run lint
2224
- name: build
23-
run: npm run build --if-present
25+
run: npm run build
2426
env:
2527
CI: true
28+
- run: npm run test

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
"**/.github/workflows/**/*.yml",
4141
"**/.github/workflows/**/*.yaml"
4242
],
43-
"configuration": "./language/language-configuration.json"
43+
"configuration": "./language/language-configuration.json",
44+
"icon": {
45+
"dark": "resources/icons/dark/lang.svg",
46+
"light": "resources/icons/light/lang.svg"
47+
}
4448
}
4549
],
4650
"grammars": [
@@ -214,7 +218,7 @@
214218
{
215219
"command": "github-actions.settings.variable.delete",
216220
"category": "GitHub Actions",
217-
"title": "Update variable",
221+
"title": "Delete variable",
218222
"icon": {
219223
"dark": "resources/icons/dark/remove.svg",
220224
"light": "resources/icons/light/remove.svg"
@@ -274,13 +278,13 @@
274278
"viewsWelcome": [
275279
{
276280
"view": "github-actions.empty-view",
277-
"contents": "Unable to connect to the GitHub API, please check your internet connection.\n[Refresh](command:github-actions.explorer.refresh)",
278-
"when": "!github-actions.internet-access"
281+
"contents": "Sign in to GitHub to display runs, workflows, and configure Actions settings.\n[Sign in to GitHub](command:github-actions.sign-in)",
282+
"when": "!github-actions.signed-in"
279283
},
280284
{
281285
"view": "github-actions.empty-view",
282-
"contents": "Sign in to GitHub to display runs, workflows, and configure Actions settings.\n[Sign in to GitHub](command:github-actions.sign-in)",
283-
"when": "github-actions.internet-access && !github-actions.signed-in"
286+
"contents": "Unable to connect to the GitHub API, please check your internet connection.\n[Refresh](command:github-actions.explorer.refresh)",
287+
"when": "github-actions.signed-in && !github-actions.internet-access"
284288
},
285289
{
286290
"view": "github-actions.empty-view",
@@ -414,6 +418,10 @@
414418
}
415419
],
416420
"commandPalette": [
421+
{
422+
"command": "github-actions.explorer.openRun",
423+
"when": "false"
424+
},
417425
{
418426
"command": "github-actions.explorer.openWorkflowFile",
419427
"when": "false"
@@ -427,13 +435,17 @@
427435
"when": "false"
428436
},
429437
{
430-
"command": "github-actions.workflow.run.cancel",
438+
"command": "github-actions.workflow.logs",
431439
"when": "false"
432440
},
433441
{
434442
"command": "github-actions.workflow.run.rerun",
435443
"when": "false"
436444
},
445+
{
446+
"command": "github-actions.workflow.run.cancel",
447+
"when": "false"
448+
},
437449
{
438450
"command": "github-actions.settings.secrets.manage",
439451
"when": "false"
@@ -442,6 +454,10 @@
442454
"command": "github-actions.settings.secret.add",
443455
"when": "false"
444456
},
457+
{
458+
"command": "github-actions.settings.secret.copy",
459+
"when": "false"
460+
},
445461
{
446462
"command": "github-actions.settings.secret.update",
447463
"when": "false"
@@ -462,6 +478,14 @@
462478
"command": "github-actions.settings.variable.delete",
463479
"when": "false"
464480
},
481+
{
482+
"command": "github-actions.settings.variable.copy-name",
483+
"when": "false"
484+
},
485+
{
486+
"command": "github-actions.settings.variable.copy-value",
487+
"when": "false"
488+
},
465489
{
466490
"command": "github-actions.workflow.pin",
467491
"when": "false"
@@ -486,8 +510,8 @@
486510
"open-in-browser": "vscode-test-web --extensionDevelopmentPath=. .",
487511
"lint": "eslint . --ext .ts",
488512
"lint-fix": "eslint . --ext .ts --fix",
489-
"prettier": "prettier .",
490-
"prettier-fix": "prettier --write .",
513+
"format": "prettier --write '**/*.ts'",
514+
"format-check": "prettier --check '**/*.ts'",
491515
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
492516
"test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch"
493517
},
@@ -504,14 +528,14 @@
504528
"eslint-plugin-prettier": "^4.2.1",
505529
"jest": "^29.0.3",
506530
"node-loader": "^0.6.0",
507-
"prettier": "^2.7.1",
531+
"prettier": "^2.8.3",
508532
"rimraf": "^3.0.1",
509533
"source-map-loader": "^4.0.1",
510534
"ts-jest": "^29.0.3",
511535
"ts-loader": "^9.4.1",
512536
"typescript": "^4.9.4",
513537
"vsce": "^2.11.0",
514-
"webpack": "^5.74.0",
538+
"webpack": "^5.76.0",
515539
"webpack-cli": "^4.10.0"
516540
},
517541
"dependencies": {

resources/icons/dark/lang.svg

Lines changed: 10 additions & 0 deletions
Loading

resources/icons/light/lang.svg

Lines changed: 10 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)