Skip to content

Commit d0069fb

Browse files
authored
fix: Add key to workflow dictionary to make it valid JavaScript (#771)
* Valid JavaScript doesn't allow a single string in a dictionary, assign a key to it fix it * Amends PR #770
1 parent 3e8dff9 commit d0069fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
github-token: ${{ secrets.GITHUB_TOKEN }}
104104
script: |
105105
github.issues.createComment({...context.issue, body: ":cry: Something went wrong. I am not able to push. Check the [Actions pipeline](https://github.com/${{ github.repository }}/actions?query=workflow%3A%22Tag+Creator%22) to see what happened. If you make any more changes, you probably want to re-trigger me again by adding the `bumpversion/${{ env['BV_PART'] }}` label again."})
106-
github.issues.removeLabel({...context.issue, "bumpversion/${{ env['BV_PART'] }}" })
106+
github.issues.removeLabel({...context.issue, labels: "bumpversion/${{ env['BV_PART'] }}" })
107107
108108
always_job:
109109
name: Always run job

0 commit comments

Comments
 (0)