Skip to content

Commit

Permalink
Update latest-pytorch-support.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtar authored Nov 23, 2023
1 parent a803be2 commit caeaaeb
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .github/workflows/latest-pytorch-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,22 @@ jobs:
elif [[ ${{ github.ref }} =~ .*release.* ]]; then
echo "base_branch=release/1.2.x" >> $GITHUB_ENV
fi
- name: Create PR from branch
uses: peter-evans/create-pull-request@v5
with:
base: ${{ env.base_branch }}
branch: ${{ env.working_branch }}
delete-branch: true
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Support latest PyTorch release
title: Support PyTorch ${{ env.new_pytorch }} on branch ${{ env.base_branch }}
body: |
Run tests on latest PyTorch release
Issue/s resolved: #${{ steps.create-issue.outputs.number }}
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
reviewers: ClaudiaComito, mtar, JuanPedroGHM
# - name: Create PR from branch
# uses: peter-evans/create-pull-request@v5
# with:
# base: ${{ env.base_branch }}
# branch: ${{ env.working_branch }}
# delete-branch: true
# token: ${{ secrets.GITHUB_TOKEN }}
# commit-message: Support latest PyTorch release
# title: Support PyTorch ${{ env.new_pytorch }} on branch ${{ env.base_branch }}
# body: |
# Run tests on latest PyTorch release
# Issue/s resolved: #${{ steps.create-issue.outputs.number }}
# Auto-generated by [create-pull-request][1]
# [1]: https://github.com/peter-evans/create-pull-request
# reviewers: ClaudiaComito, mtar, JuanPedroGHM
- name: create pull request
run: gh pr create -B ${{ env.base_branch }} -H ${{ env.working_branch }} --title Support PyTorch ${{ env.new_pytorch }} on branch ${{ env.base_branch }} --body 'Run tests on latest PyTorch release\nIssue/s resolved: #${{ steps.create-issue.outputs.number }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit caeaaeb

Please sign in to comment.