Skip to content

Commit

Permalink
mod: update workflow (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
hetao92 authored May 18, 2022
1 parent 5721ca5 commit 0deae69
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/auto-cherry-pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@ defaults:
shell: bash

jobs:
auto-cherry-pick:
auto-cherry-pick:
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:
CLOUD_GH_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global url."https://${GITHUB_TOKEN}:[email protected]/".insteadOf "https://github.com/"
export GOPRIVATE="github.com/vesoft-inc"
- name: auto cherry pick
uses: xigongdaEricyang/cherry-pick-robot@with-python
with:
from_repo: vesoft-inc/nebula-studio
pr_label: ^v[0-9]*\.[0-9]*-cherry-pick$
pr_label: ^v[0-9]*\.[0-9]*(.[0-9])?-cherry-pick$
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0deae69

Please sign in to comment.