mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 20:54:25 +08:00
👷 support issue auto close and gitee repo auto asny
👷 support issue auto close and gitee repo auto asny 👷 support issue auto close and gitee repo auto asny
This commit is contained in:
parent
1586d8f213
commit
73f4d7702b
23
.github/workflows/issue.yml
vendored
Normal file
23
.github/workflows/issue.yml
vendored
Normal 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 Github 自动回复消息
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Close Issue
|
||||||
|
if: github.repository == 'pig-mesh/pig'
|
||||||
|
uses: peter-evans/close-issue@v1
|
||||||
|
with:
|
||||||
|
issue-number: ${{ github.event.issue.number }}
|
||||||
|
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
|
||||||
|
comment:
|
||||||
|
您好!技术问题请在 https://issue.pig4cloud.com 反馈,
|
||||||
|
Github 提问不会处理,此issue将自动关闭。
|
||||||
|
|
23
.github/workflows/sync-gitee-mirror.yml
vendored
Normal file
23
.github/workflows/sync-gitee-mirror.yml
vendored
Normal 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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user