[all-commits] [llvm/llvm-project] 859e6a: [github] GitHub Actions workflows changes (#65856)

Mohammed Keyvanzadeh via All-commits all-commits at lists.llvm.org
Tue Sep 12 15:22:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 859e6aa1008b80d9b10657bac37822a32ee14a23
      https://github.com/llvm/llvm-project/commit/859e6aa1008b80d9b10657bac37822a32ee14a23
  Author: Mohammed Keyvanzadeh <mohammadkeyvanzade94 at gmail.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M .github/workflows/clang-tests.yml
    M .github/workflows/issue-release-workflow.yml
    M .github/workflows/issue-subscriber.yml
    M .github/workflows/libclang-abi-tests.yml
    M .github/workflows/libclc-tests.yml
    M .github/workflows/lld-tests.yml
    M .github/workflows/lldb-tests.yml
    M .github/workflows/llvm-project-tests.yml
    M .github/workflows/llvm-tests.yml
    M .github/workflows/new-prs.yml
    M .github/workflows/pr-subscriber.yml
    M .github/workflows/release-binaries.yml
    M .github/workflows/release-tasks.yml
    M .github/workflows/version-check.yml

  Log Message:
  -----------
  [github] GitHub Actions workflows changes (#65856)

- Remove usages of the non-existent `ignore-forks` field, conditions in
jobs already exist to prevent the jobs from running in forks.
- Don't use variables in the `printf` format string. Use `printf
"..%s.." "$foo"`. ([SC2059](https://www.shellcheck.net/wiki/SC2059))
- Double quote variable expansion to prevent globbing and word
splitting. ([SC2086](https://www.shellcheck.net/wiki/SC2086))
- Prefer `[ p ] || [ q ]` as `[ p -o q ]` is not well defined.
([SC2166](https://www.shellcheck.net/wiki/SC2166))
- Consider `{ cmd1; cmd2; } >> file` instead of individual redirects.
([SC2129](https://www.shellcheck.net/wiki/SC2129))
- Use `$(...)` notation instead of legacy notation `...`.
([SC2006](https://www.shellcheck.net/wiki/SC2006))
- Use `./*glob*` or `-- *glob*` so names with dashes won't become
options. ([SC2035](https://www.shellcheck.net/wiki/SC2035))
- Refactor JavaScript code in certain workflows.
- Change workflow variable substitution style of some workflows to be
consistent with others.




More information about the All-commits mailing list