diff options
author | Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> | 2023-02-01 00:58:45 +0330 |
---|---|---|
committer | Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> | 2023-02-01 06:23:33 +0330 |
commit | d30b187f7d44f06eccb77394019ba1b942bd9132 (patch) | |
tree | 251a25217281c5eaa0a52e960b554794b105908d /.github/workflows/issue-release-workflow.yml | |
parent | 930d477d5d8f6c9f09daabb84ce6b76f38bf438d (diff) | |
download | llvm-d30b187f7d44f06eccb77394019ba1b942bd9132.tar.gz |
[github] update actions and make tweaks
- Update the GitHub workflow actions to their latest versions.
- Use the latest Node.js LTS release.
- Use the latest Ubuntu version for consistency across all workflows.
- The `set-output` command is deprecated and will soon be disabled (https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/) so use the new recommended way.
- Use the `$()` expressions for string interpolation instead of the deprecated backticks in Bash.
- Format the YAML files.
Differential Revision: https://reviews.llvm.org/D143015
Diffstat (limited to '.github/workflows/issue-release-workflow.yml')
-rw-r--r-- | .github/workflows/issue-release-workflow.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml index 25b0d124a15e..1662be9ed915 100644 --- a/.github/workflows/issue-release-workflow.yml +++ b/.github/workflows/issue-release-workflow.yml @@ -29,14 +29,14 @@ env: jobs: backport-commits: name: Backport Commits - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: >- (github.repository == 'llvm/llvm-project') && !startswith(github.event.comment.body, '<!--IGNORE-->') && contains(github.event.action == 'opened' && github.event.issue.body || github.event.comment.body, '/cherry-pick') steps: - name: Fetch LLVM sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: llvm/llvm-project # GitHub stores the token used for checkout and uses it for pushes @@ -63,7 +63,7 @@ jobs: create-pull-request: name: Create Pull Request - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: >- (github.repository == 'llvm/llvm-project') && !startswith(github.event.comment.body, '<!--IGNORE-->') && @@ -71,7 +71,7 @@ jobs: steps: - name: Fetch LLVM sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false |