Skip to content

Commit 4b6d002

Browse files
authored
fix(workflows): remove invalid updateWorkflowRun API calls (#58)
GitHub API does not support updating workflow run names after start.
1 parent 63edbef commit 4b6d002

2 files changed

Lines changed: 0 additions & 22 deletions

File tree

.github/workflows/vsix-build.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ jobs:
3636
echo "version=$version" >> $env:GITHUB_OUTPUT
3737
shell: pwsh
3838

39-
- name: Update workflow run name
40-
uses: actions/github-script@v7
41-
with:
42-
script: |
43-
await github.rest.actions.updateWorkflowRun({
44-
owner: context.repo.owner,
45-
repo: context.repo.repo,
46-
run_id: context.runId,
47-
name: `Building '${{ inputs.extension-name }}' - v${{ steps.version.outputs.version }}`
48-
})
49-
5039
- name: 2. Inject Honeycomb API Key
5140
if: hashFiles(env.HONEYCOMB_CONFIG) != ''
5241
run: |

.github/workflows/vsix-publish.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,6 @@ jobs:
8282
with:
8383
file_path: ./artifact/${{ env.INFO_FILE }}
8484

85-
- name: Update workflow run name
86-
uses: actions/github-script@v7
87-
with:
88-
script: |
89-
await github.rest.actions.updateWorkflowRun({
90-
owner: context.repo.owner,
91-
repo: context.repo.repo,
92-
run_id: context.runId,
93-
name: `Publishing '${{ inputs.display-name }}' - v${{ steps.artifact_manifest.outputs.version }}`
94-
})
95-
9685
- name: 3. Create Tag & Release
9786
uses: ncipollo/release-action@v1.14.0
9887
with:

0 commit comments

Comments
 (0)