Skip to content

Commit

Permalink
fix container of pick (#4345)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie-Xie authored Jun 23, 2022
1 parent bf60ba3 commit c258cc0
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions .github/workflows/auto_cherry_pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,26 @@ defaults:
jobs:
auto-cherry-pick:
#if: ${{ startsWith(github.event.pull_request.labels.*.name, 'cherry-pick-') && github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
container:
image: vesoft/nebula-dev:centos7
steps:
- name: keep workspace empty
run: |
rm -rf *
- name: git config set
env:
GH_BOT_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global url."https://${GH_BOT_PAT}:[email protected]/".insteadOf "https://github.com/"
runs-on: [self-hosted, nebula-fast]
container:
image: reg.vesoft-inc.com/dashboard/dashboard-dev:centos7
credentials:
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
steps:
- name: keep workspace empty
run: |
rm -rf *
- name: git config set
env:
GH_BOT_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global url."https://${GH_BOT_PAT}:[email protected]/".insteadOf "https://github.com/"
export GOPRIVATE="github.com/vesoft-inc"
- name: auto cherry pick
uses: xigongdaEricyang/cherry-pick-robot@with-python
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
pr_label: ${{ github.event.inputs.pr_label }}
#pr_num: ${{ github.event.pull_request.number }}
auto_merge: true
- name: auto cherry pick
uses: xigongdaEricyang/cherry-pick-robot@with-python
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
pr_label: ${{ github.event.inputs.pr_label }}
#pr_num: ${{ github.event.pull_request.number }}
auto_merge: true

0 comments on commit c258cc0

Please sign in to comment.