use access token for HTTPS access
@@ -14,11 +14,6 @@ jobs:
with:
submodules: recursive
- - name: set ssh
- uses: webfactory/ssh-agent@v0.5.0
- with:
- ssh-private-key: ${{secrets.SSH_PRIVATE_KEY}}
-
- name: setup python
uses: actions/setup-python@v2
with:
@@ -36,4 +31,5 @@ jobs:
BACKPORT_GITHUB_TOKEN: ${{secrets.BACKPORT_TOKEN}}
run: |
cd backport
- python backport.py --repo cupy --sha ${{github.event.after}}
+ echo "machine github.com\nuser chainer-ci\npassword ${{secrets.BACKPORT_TOKEN}}" > ~/.netrc
+ python backport.py --repo cupy --sha ${{github.event.after}} --https
