Skip to content

Commit

Permalink
Merge pull request #4835 from kmaehashi/fix-workflow
Browse files Browse the repository at this point in the history
Fix automated backport workflow
  • Loading branch information
emcastillo committed Mar 9, 2021
2 parents 344e5bf + 3747f41 commit 07171d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
- master

jobs:
pretest:
backport:
if: github.repository_owner == 'cupy'
runs-on: ubuntu-18.04
env:
CUPY_CI: GitHub
Expand All @@ -31,5 +32,5 @@ jobs:
BACKPORT_GITHUB_TOKEN: ${{secrets.BACKPORT_TOKEN}}
run: |
cd backport
echo "machine github.com\nuser chainer-ci\npassword ${{secrets.BACKPORT_TOKEN}}" > ~/.netrc
echo -e "machine github.com\nlogin chainer-ci\npassword ${{secrets.BACKPORT_TOKEN}}" > ~/.netrc
python backport.py --repo cupy --sha ${{github.event.after}} --https

0 comments on commit 07171d7

Please sign in to comment.