diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2023-09-10 20:26:29 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-10 11:26:29 -0600 |
| commit | c02c183eecf19961050ca2921fd7165e4938dd12 (patch) | |
| tree | b2043852712b7ddf9448f67c384bfbb8f2190260 /.github | |
| parent | 8a146f81b6061455a9d56bcbf5fc68c9ef800920 (diff) | |
Trying to fix author in ok check (#1920)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ok-check.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ok-check.yml b/.github/workflows/ok-check.yml index 0706175789..a4dcd3c76d 100644 --- a/.github/workflows/ok-check.yml +++ b/.github/workflows/ok-check.yml @@ -54,7 +54,7 @@ jobs: sudo apt install -y libclang-16-dev FILENAMES="${{ steps.changed-files-specific.outputs.all_changed_files }}" - CMD="./tp github-update-issues --personal-access-token ${{ secrets.PAT_TOKEN }} --debug --owner ${{ env.GITHUB_ORG }} --repo ${{ env.GITHUB_REPO }} --state-file ${{ env.STATE_FILE }}" + CMD=(./tp github-update-issues --personal-access-token ${{ secrets.PAT_TOKEN }} --debug --owner ${{ env.GITHUB_ORG }} --repo ${{ env.GITHUB_REPO }} --state-file ${{ env.STATE_FILE }}) IFS=' ' read -ra FILE_ARRAY <<< "$FILENAMES" INC_FOUND=false @@ -76,8 +76,8 @@ jobs: for FILE in "${FILE_ARRAY[@]}"; do AUTHOR=$(git log -1 --pretty=format:'%an' -- $FILE) - CMD="$CMD --filename $FILE --author '$AUTHOR'" + CMD+=(--filename $FILE --author '$AUTHOR') done # Update the status and assignees for every issue identified - $CMD
\ No newline at end of file + ${CMD[@]}
\ No newline at end of file |
