Compare commits

...
Author SHA1 Message Date
Yang Cao fe9140f8b2 Bump @octokit/rest from 19.0.7 to 20.1.2 2025-03-11 21:09:32 +00:00
Yang Cao 81db06000a Merge pull request #166 from actions/dependabot/npm_and_yarn/lerna-8.2.1
Bump lerna from 6.0.3 to 8.2.1
2025-03-11 10:54:49 -04:00
dependabot[bot] f0a24df8db Bump lerna from 6.0.3 to 8.2.1
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/packages/lerna) from 6.0.3 to 8.2.1.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/packages/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v8.2.1/packages/lerna)

---
updated-dependencies:
- dependency-name: lerna
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-03-10 01:44:06 +00:00
Josh Gross 7c0bffb677 Merge pull request #164 from actions/joshmgross/update-workflows
Update workflow actions and remove release notes file
2025-03-05 13:17:49 -05:00
Josh Gross 6fedfd7fa4 Update workflow actions and remove release notes file 2025-03-05 13:10:09 -05:00
Josh Gross 8725c3c1c6 Merge pull request #163 from actions/release/0.3.15
Release version 0.3.15
2025-03-05 13:06:15 -05:00
GitHub Actions 977d0ea9cd Release extension version 0.3.15 2025-03-05 18:02:03 +00:00
Josh Gross 48247b8730 Merge pull request #145 from gillisandrew/bug/import-assertions
Remove import assertions
2025-03-05 12:58:01 -05:00
eric sciple bdee101604 Merge pull request #152 from actions/release/0.3.14
Release version 0.3.14
2025-01-29 15:34:45 -06:00
GitHub Actions 7a41cd9e66 Release extension version 0.3.14 2025-01-29 21:32:29 +00:00
eric sciple 0d97e79d94 Merge pull request #150 from ericsciple/users/ericsciple/25-01-description
Add root-level description keyword
2025-01-29 15:15:08 -06:00
eric sciple 50b08a3a22 Add root-level description keyword 2025-01-28 19:24:42 +00:00
Andrew Gillis f02e9593c2 Remove import assertions 2024-11-29 09:31:04 -05:00
Liela Rotschy 3a8c29c2df Merge pull request #102 from actions/release/0.3.13
Release version 0.3.13
2024-09-10 12:12:22 -06:00
GitHub Actions e6e3bb41e2 Release extension version 0.3.13 2024-09-10 18:10:03 +00:00
Liela Rotschy b147158840 Merge pull request #101 from actions/dependabot/npm_and_yarn/axios-1.7.7
Bump axios from 1.6.7 to 1.7.7
2024-09-10 12:07:56 -06:00
dependabot[bot] 1b970c131f Bump axios from 1.6.7 to 1.7.7
Bumps [axios](https://github.com/axios/axios) from 1.6.7 to 1.7.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.7...v1.7.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-09-09 17:08:04 +00:00
19 changed files with 4193 additions and 2917 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Use Node.js 16.15 - name: Use Node.js 16.15
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 16.15 node-version: 16.15
cache: 'npm' cache: 'npm'
+2 -2
View File
@@ -25,9 +25,9 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: "16" node-version: "16"
+5 -5
View File
@@ -24,10 +24,10 @@ jobs:
contents: read contents: read
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Check if version has changed - name: Check if version has changed
id: check-version id: check-version
uses: actions/github-script@v6 uses: actions/github-script@v7
with: with:
script: | script: |
const version = '${{ inputs.version }}' || require('./lerna.json').version; const version = '${{ inputs.version }}' || require('./lerna.json').version;
@@ -65,9 +65,9 @@ jobs:
PKG_VERSION: "" # will be set in the workflow PKG_VERSION: "" # will be set in the workflow
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: 16.x node-version: 16.x
cache: "npm" cache: "npm"
@@ -80,7 +80,7 @@ jobs:
- run: npm ci - run: npm ci
- name: Create release - name: Create release
uses: actions/github-script@v6 uses: actions/github-script@v7
with: with:
script: | script: |
const fs = require("fs"); const fs = require("fs");
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/expressions", "name": "@actions/expressions",
"version": "0.3.12", "version": "0.3.15",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"source": "./src/index.ts", "source": "./src/index.ts",
+4 -4
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/languageserver", "name": "@actions/languageserver",
"version": "0.3.12", "version": "0.3.15",
"description": "Language server for GitHub Actions", "description": "Language server for GitHub Actions",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
@@ -43,9 +43,9 @@
"watch": "tsc --build tsconfig.build.json --watch" "watch": "tsc --build tsconfig.build.json --watch"
}, },
"dependencies": { "dependencies": {
"@actions/languageservice": "^0.3.12", "@actions/languageservice": "^0.3.15",
"@actions/workflow-parser": "^0.3.12", "@actions/workflow-parser": "^0.3.15",
"@octokit/rest": "^19.0.7", "@octokit/rest": "^20.1.2",
"@octokit/types": "^9.0.0", "@octokit/types": "^9.0.0",
"vscode-languageserver": "^8.0.2", "vscode-languageserver": "^8.0.2",
"vscode-languageserver-textdocument": "^1.0.7", "vscode-languageserver-textdocument": "^1.0.7",
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/languageservice", "name": "@actions/languageservice",
"version": "0.3.12", "version": "0.3.15",
"description": "Language service for GitHub Actions", "description": "Language service for GitHub Actions",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
@@ -44,8 +44,8 @@
"watch": "tsc --build tsconfig.build.json --watch" "watch": "tsc --build tsconfig.build.json --watch"
}, },
"dependencies": { "dependencies": {
"@actions/expressions": "^0.3.12", "@actions/expressions": "^0.3.15",
"@actions/workflow-parser": "^0.3.12", "@actions/workflow-parser": "^0.3.15",
"vscode-languageserver-textdocument": "^1.0.7", "vscode-languageserver-textdocument": "^1.0.7",
"vscode-languageserver-types": "^3.17.2", "vscode-languageserver-types": "^3.17.2",
"vscode-uri": "^3.0.8", "vscode-uri": "^3.0.8",
+1 -1
View File
@@ -1,7 +1,7 @@
import {promises as fs} from "fs"; import {promises as fs} from "fs";
import Webhook from "./webhook.js"; import Webhook from "./webhook.js";
import schemaImport from "rest-api-description/descriptions/api.github.com/dereferenced/api.github.com.deref.json" assert {type: "json"}; import schemaImport from "rest-api-description/descriptions/api.github.com/dereferenced/api.github.com.deref.json";
import {deduplicateWebhooks} from "./deduplicate.js"; import {deduplicateWebhooks} from "./deduplicate.js";
const schema = schemaImport as any; const schema = schemaImport as any;
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
const result = await complete(...getPositionFromCursor(input)); const result = await complete(...getPositionFromCursor(input));
expect(result).not.toBeUndefined(); expect(result).not.toBeUndefined();
expect(result.length).toEqual(8); expect(result.length).toEqual(9);
expect(result[0].label).toEqual("concurrency"); expect(result[0].label).toEqual("concurrency");
}); });
@@ -1,4 +1,4 @@
import descriptions from "./descriptions.json" assert {type: "json"}; import descriptions from "./descriptions.json";
export const RootContext = "root"; export const RootContext = "root";
const FunctionContext = "functions"; const FunctionContext = "functions";
@@ -3,8 +3,8 @@ import {data, DescriptionDictionary} from "@actions/expressions";
import webhookObjects from "./objects.json"; import webhookObjects from "./objects.json";
import webhooks from "./webhooks.json"; import webhooks from "./webhooks.json";
import schedule from "./schedule.json" assert {type: "json"}; import schedule from "./schedule.json";
import workflow_call from "./workflow_call.json" assert {type: "json"}; import workflow_call from "./workflow_call.json";
const customEventPayloads: {[name: string]: unknown} = { const customEventPayloads: {[name: string]: unknown} = {
schedule, schedule,
+12 -2
View File
@@ -21,8 +21,18 @@ describe("end-to-end", () => {
const result = await complete(...getPositionFromCursor(input)); const result = await complete(...getPositionFromCursor(input));
expect(result).not.toBeUndefined(); expect(result).not.toBeUndefined();
expect(result.length).toEqual(8); expect(result.length).toEqual(9);
const labels = result.map(x => x.label); const labels = result.map(x => x.label);
expect(labels).toEqual(["concurrency", "defaults", "env", "jobs", "name", "on", "permissions", "run-name"]); expect(labels).toEqual([
"concurrency",
"defaults",
"description",
"env",
"jobs",
"name",
"on",
"permissions",
"run-name"
]);
}); });
}); });
+1 -1
View File
@@ -6,5 +6,5 @@
"languageservice", "languageservice",
"languageserver" "languageserver"
], ],
"version": "0.3.12" "version": "0.3.15"
} }
+4114 -2887
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -8,6 +8,6 @@
"./languageserver" "./languageserver"
], ],
"devDependencies": { "devDependencies": {
"lerna": "^6.0.3" "lerna": "^8.2.1"
} }
} }
-1
View File
@@ -1 +0,0 @@
Release 0.3.5
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/workflow-parser", "name": "@actions/workflow-parser",
"version": "0.3.12", "version": "0.3.15",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"source": "./src/index.ts", "source": "./src/index.ts",
@@ -43,7 +43,7 @@
"watch": "tsc --build tsconfig.build.json --watch" "watch": "tsc --build tsconfig.build.json --watch"
}, },
"dependencies": { "dependencies": {
"@actions/expressions": "^0.3.12", "@actions/expressions": "^0.3.15",
"cronstrue": "^2.21.0", "cronstrue": "^2.21.0",
"yaml": "^2.0.0-8" "yaml": "^2.0.0-8"
}, },
+6
View File
@@ -7,6 +7,7 @@
"properties": { "properties": {
"on": "on", "on": "on",
"name": "workflow-name", "name": "workflow-name",
"description": "workflow-description",
"run-name": "run-name", "run-name": "run-name",
"defaults": "workflow-defaults", "defaults": "workflow-defaults",
"env": "workflow-env", "env": "workflow-env",
@@ -28,6 +29,7 @@
"required": true "required": true
}, },
"name": "workflow-name", "name": "workflow-name",
"description": "workflow-description",
"run-name": "run-name", "run-name": "run-name",
"defaults": "workflow-defaults", "defaults": "workflow-defaults",
"env": "workflow-env", "env": "workflow-env",
@@ -44,6 +46,10 @@
"description": "The name of the workflow that GitHub displays on your repository's 'Actions' tab.\n\n[Documentation](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#name)", "description": "The name of the workflow that GitHub displays on your repository's 'Actions' tab.\n\n[Documentation](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#name)",
"string": {} "string": {}
}, },
"workflow-description": {
"description": "A description for your workflow or reusable workflow",
"string": {}
},
"run-name": { "run-name": {
"context": [ "context": [
"github", "github",
@@ -1,6 +1,6 @@
import {JSONObjectReader} from "../templates/json-object-reader"; import {JSONObjectReader} from "../templates/json-object-reader";
import {TemplateSchema} from "../templates/schema"; import {TemplateSchema} from "../templates/schema";
import WorkflowSchema from "../workflow-v1.0.json" assert {type: "json"}; import WorkflowSchema from "../workflow-v1.0.json";
let schema: TemplateSchema; let schema: TemplateSchema;
@@ -0,0 +1,34 @@
include-source: false # Drop file/line/col from output
---
description: My workflow description
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo hi
---
{
"jobs": [
{
"type": "job",
"id": "build",
"name": "build",
"if": {
"type": 3,
"expr": "success()"
},
"runs-on": "ubuntu-latest",
"steps": [
{
"id": "__run",
"if": {
"type": 3,
"expr": "success()"
},
"run": "echo hi"
}
]
}
]
}