Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 08e031e

Browse files
authored
fix: force condition (#31)
1 parent ba1ac49 commit 08e031e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ runs:
2020
run: npm install github-label-template
2121
shell: bash
2222
- name: 'delete existing labels'
23-
run: [[ "${{ inputs.force }}" = true ]] && npx ghlbl -o ${{ inputs.owner-name }} -r ${{ inputs.repository-name }} -t ${{ inputs.github-token }} -d
23+
run: |
24+
[[ "${{ inputs.force }}" = true ]] && npx ghlbl -o ${{ inputs.owner-name }} -r ${{ inputs.repository-name }} -t ${{ inputs.github-token }} -d
2425
shell: bash
2526
- name: 'import labels from json file'
2627
run: npx ghlbl -o ${{ inputs.owner-name }} -r ${{ inputs.repository-name }} -t ${{ inputs.github-token }} -i ${{ github.action_path }}/labels.json

0 commit comments

Comments
 (0)