diff --git a/.github/workflows/auto_sync_issue.yml b/.github/workflows/auto_sync_issue.yml new file mode 100644 index 00000000000..40f7a9ebbd7 --- /dev/null +++ b/.github/workflows/auto_sync_issue.yml @@ -0,0 +1,32 @@ +name: Auto sync issue + +on: + issues: + types: + - reopened + - opened + - labeled + - unlabeled + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +env: + GH_PAT: ${{ secrets.GH_BOT_PAT }} + IU_NUM: ${{ github.event.issue.number }} + TO_REPO: "vesoft-inc/nebula" + COMMON_ISSUE_LABEL: "auto-sync" + +jobs: + sync: + name: auto sync issue + runs-on: ubuntu-latest + permissions: write-all + if: contains(github.event.issue.labels.*.name, 'auto-sync') + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.8' + - uses: qianbd/sync_issue@main