Skip to content

Commit ac657f3

Browse files
fix(auto-update): outputs reference (#6350)
1 parent c944979 commit ac657f3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/auto-update-db.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
run: python -u ./src/updater.py --issue_update
7777

7878
- name: Set Outputs
79+
id: outputs
7980
if: always()
8081
run: |
8182
# if exceptions.md file exists, then set output to true
@@ -153,8 +154,8 @@ jobs:
153154
})
154155
155156
// get update outputs
156-
const exception = "${{ steps.update.outputs.exception }}"
157-
const duplicate = "${{ steps.update.outputs.duplicate }}"
157+
const exception = "${{ steps.outputs.outputs.exception }}"
158+
const duplicate = "${{ steps.outputs.outputs.duplicate }}"
158159
159160
// create an array of current labels
160161
let current_labels = labels.data.map(label => label.name)
@@ -226,7 +227,7 @@ jobs:
226227
- name: Auto Close
227228
if:
228229
(github.event.label.name == 'request-theme') &&
229-
steps.update.outputs.auto_close == 'true'
230+
steps.outputs.outputs.auto_close == 'true'
230231
env:
231232
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
232233
run: |
@@ -240,7 +241,7 @@ jobs:
240241
- name: GitHub Commit & Push
241242
if:
242243
(github.event.label.name == 'approve-theme') &&
243-
steps.update.outputs.exception == 'false' &&
244+
steps.outputs.outputs.exception == 'false' &&
244245
steps.labels.outputs.result == 'true'
245246
uses: actions-js/[email protected]
246247
with:
@@ -254,7 +255,7 @@ jobs:
254255
- name: Close Issue
255256
if:
256257
(github.event.label.name == 'approve-theme') &&
257-
steps.update.outputs.exception == 'false' &&
258+
steps.outputs.outputs.exception == 'false' &&
258259
steps.labels.outputs.result == 'true'
259260
env:
260261
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
@@ -269,7 +270,7 @@ jobs:
269270
- name: Label next issue
270271
if:
271272
(github.event.label.name == 'approve-theme') &&
272-
steps.update.outputs.exception == 'false'
273+
steps.outputs.outputs.exception == 'false'
273274
uses: actions/github-script@v8
274275
with:
275276
github-token: ${{ secrets.GH_BOT_TOKEN }}

0 commit comments

Comments
 (0)