Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add auto sync robot in workflow #102

Merged
merged 1 commit into from
May 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/auto-cherry-pick.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Auto Cherry Pick
on: workflow_dispatch

defaults:
run:
shell: bash

jobs:
auto-cherry-pick:
runs-on: [self-hosted, nebula-fast]
container:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to add
- name: keep workspace empty run: | rm -rf *
to keep container clean

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I just do some git operations in this job, so it seems unnecessary to do this?

image: reg.vesoft-inc.com/dashboard/dashboard-dev:centos7
credentials:
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
steps:
- name: auto cherry pick
uses: xigongdaEricyang/cherry-pick-robot@with-python
with:
from_repo: vesoft-inc/nebula-http-gateway
pr_label: ^v[0-9]*\.[0-9]*-cherry-pick$