-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pytorch release PR workflow (#1286)
* Update pytorch-latest-release.yml * Update latest-pytorch-support.yml * Delete .github/workflows/pytorch-latest-main.yml * Update checkout version --------- Co-authored-by: Claudia Comito <[email protected]>
- Loading branch information
1 parent
05325e2
commit 3db7af7
Showing
4 changed files
with
26 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,12 @@ name: Get latest PyTorch version release branch | |
on: | ||
workflow_dispatch: | ||
env: | ||
working_branch: support/new-pytorch-release-branch | ||
base_branch: release/1.2.x | ||
working_branch: support/new-pytorch-${{ github.ref_name }} | ||
base_branch: ${{ github.ref_name }} | ||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
jobs: | ||
get-version: | ||
runs-on: ubuntu-latest | ||
|
@@ -32,3 +34,9 @@ jobs: | |
git config --global user.email '[email protected]@users.noreply.github.com' | ||
git commit -am "New PyTorch release ${{ env.new }}" | ||
git push --set-upstream origin ${{ env.working_branch }} | ||
call-workflow: | ||
needs: get-version | ||
uses: ./.github/workflows/latest-pytorch-support.yml | ||
with: | ||
working_branch: support/new-pytorch-${{ github.ref_name }} | ||
base_branch: ${{ github.ref_name }} |