From fab55ef7372d6aa136a4b575f8585c28f264c406 Mon Sep 17 00:00:00 2001 From: Sebastian Rath Date: Fri, 24 May 2024 22:51:55 -0400 Subject: [PATCH] Bump to v0.9.85 --- .github/workflows/build-and-publish.yml | 2 +- README.md | 11 ++++++++++- package-lock.json | 4 ++-- package.json | 2 +- src/editor.ts | 14 ++++++++++++-- 5 files changed, 26 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 7268d4f..4e9b3d4 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -6,6 +6,6 @@ jobs: name: My workflow steps: - name: Execute Action Graph - uses: actionforge/action@5636645834e4a75cbc8c6c204e872ddc27632738 # v0.9.52 + uses: actionforge/action@1cb7c397d2c7caa8d8071041976b6f2e4e2ead20 # v0.9.58 with: graph_file: build-and-publish.yml diff --git a/README.md b/README.md index 1418f23..579526f 100644 --- a/README.md +++ b/README.md @@ -64,9 +64,18 @@ jobs: name: My workflow steps: - name: Execute Action Graph - uses: actionforge/action@5636645834e4a75cbc8c6c204e872ddc27632738 # v0.9.52 + uses: actionforge/action@1cb7c397d2c7caa8d8071041976b6f2e4e2ead20 # v0.9.58 with: graph_file: my-workflow.yml + + # Uncomment to use secrets within the action graph. + # secrets: ${{ toJson(secrets) }} + + # Uncomment to pass inputs from a 'workflow_dispatch' event. + # inputs: ${{ toJson(inputs) }} + + # Uncomment to access values set by the matrix strategy. + # matrix: ${{ toJson(matrix) }} ``` The second one is the action graph itself. This is a YAML file that you can edit via the graph editor that is part of this extension. diff --git a/package-lock.json b/package-lock.json index 8da4220..0a832d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "actionforge", - "version": "0.9.84", + "version": "0.9.85", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "actionforge", - "version": "0.9.84", + "version": "0.9.85", "license": "Actionforge Community License", "dependencies": { "@octokit/rest": "20.0.2", diff --git a/package.json b/package.json index b92b8d7..f928b08 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "actionforge", "displayName": "Actionforge Graph Editor", "description": "A visual editor for GitHub Actions workflows", - "version": "0.9.84", + "version": "0.9.85", "publisher": "Actionforge", "icon": "assets/icon.png", "homepage": "https://www.actionforge.dev", diff --git a/src/editor.ts b/src/editor.ts index 5e43479..2d14737 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -259,9 +259,19 @@ jobs: name: My workflow steps: - name: Execute Action Graph - uses: actionforge/action@5636645834e4a75cbc8c6c204e872ddc27632738 # v0.9.52 + uses: actionforge/action@1cb7c397d2c7caa8d8071041976b6f2e4e2ead20 # v0.9.58 with: - graph_file: ${newName}`; + graph_file: ${newName} + + # Uncomment to use secrets within the action graph. + # secrets: \${{ toJson(secrets) }} + + # Uncomment to pass inputs from a 'workflow_dispatch' event. + # inputs: \${{ toJson(inputs) }} + + # Uncomment to access values set by the matrix strategy. + # matrix: \${{ toJson(matrix) }} +`; const edit = new vscode.WorkspaceEdit(); // create action graph file