Merge remote-tracking branch 'origin/dev' into dev

# Conflicts:
#	.github/workflows/issue.yml
This commit is contained in:
MicLng 2021-10-27 12:31:40 +08:00
commit 66799bdb85
2 changed files with 42 additions and 0 deletions

19
.github/workflows/auto-issue.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: PIG Github 自动回复消息
on:
issues:
types: [opened]
jobs:
titlePrefixCheck:
runs-on: ubuntu-latest
steps:
- name: Close Issue
if: github.repository == 'pig-mesh/pig'
uses: peter-evans/close-issue@v1
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
comment:
您好!技术问题请在 https://issue.pig4cloud.com 反馈,
Github 提问不会处理此issue将自动关闭。

23
.github/workflows/sync-gitee-mirror.yml vendored Normal file
View File

@ -0,0 +1,23 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: PIG 代码同步至 gitee
on:
push:
branches: [ master,dev ]
pull_request:
branches: [ master,dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: sync-gitee-mirror
if: github.repository == 'pig-mesh/pig'
uses: abersheeran/sync-gitee-mirror@v1-beta
with:
repository: log4j/pig
username: ${{ secrets.GITEE_USERNAME }}
password: ${{ secrets.GITEE_PASSWORD }}