diff options
author | Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> | 2022-05-09 05:32:26 +0430 |
---|---|---|
committer | Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> | 2022-06-11 11:31:21 +0430 |
commit | 7e5f75aa37801b9e4e9f0e3fb9f0358cbafb6f63 (patch) | |
tree | d89b52220d3c628bc913e52a80acffabc7dbd68c /.github/workflows/issue-release-workflow.yml | |
parent | 5d7b1a5f1b7ad4add1e6a4b6c43929d171e18544 (diff) | |
download | llvm-7e5f75aa37801b9e4e9f0e3fb9f0358cbafb6f63.tar.gz |
[github] format and refactor GitHub workflows
Format and refactor the GitHub workflow for consistency.
Differential Revision: https://reviews.llvm.org/D125197
Diffstat (limited to '.github/workflows/issue-release-workflow.yml')
-rw-r--r-- | .github/workflows/issue-release-workflow.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml index e0e03a8970ad..6a62001f9ecf 100644 --- a/.github/workflows/issue-release-workflow.yml +++ b/.github/workflows/issue-release-workflow.yml @@ -4,7 +4,7 @@ # /cherry-pick <commit> <...> # # This comment will attempt to cherry-pick the given commits to the latest -# release branch (release/Y.x) and if successful push the result to a branch +# release branch (release/Y.x) and if successful, push the result to a branch # on github. # # /branch <owner>/<repo>/<branch> @@ -31,9 +31,9 @@ jobs: name: Backport Commits runs-on: ubuntu-20.04 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') + (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 @@ -64,16 +64,16 @@ jobs: name: Create Pull Request runs-on: ubuntu-20.04 if: >- - (github.repository == 'llvm/llvm-project') && - !startswith(github.event.comment.body, '<!--IGNORE-->') && - contains(github.event.comment.body, '/branch') + (github.repository == 'llvm/llvm-project') && + !startswith(github.event.comment.body, '<!--IGNORE-->') && + contains(github.event.comment.body, '/branch') steps: - name: Fetch LLVM sources uses: actions/checkout@v2 - name: Setup Environment - run: | + run: | pip install -r ./llvm/utils/git/requirements.txt - name: Create Pull Request |