feat: project actions

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/455/head
Xinwei Xiong(cubxxw-openim) 2 years ago
parent 5b76d9e853
commit 6394ad9227

37
.github/sync.yml vendored

@ -5,10 +5,10 @@ OpenIMSDK/.github:
dest: LICENSE
- source: script/LICENSE/
dest: scripts/LICENSE/
replace: true
replace: false
- source: .github/
dest: .github/
replace: true
replace: false
exclude: |
workflows/
sync.yml
@ -18,7 +18,7 @@ OpenIMSDK/community:
dest: LICENSE
- source: script/LICENSE/
dest: scripts/LICENSE/
replace: true
replace: false
- source: .github/workflows/
dest: .github/workflows/
exclude:
@ -26,7 +26,7 @@ OpenIMSDK/community:
- sync.yml
- source: .github/
dest: .github/
replace: true
replace: false
exclude: |
sync.yml
@ -35,17 +35,13 @@ OpenIMSDK/openim-sdk-core:
dest: LICENSE
- source: script/LICENSE/
dest: scripts/LICENSE/
replace: true
- source: .github/workflows/
dest: .github/workflows/
exclude:
- e2e-test.yml
- sync.yml
- source: .github/
dest: .github/
replace: true
exclude: |
sync.yml
replace: false
- source: .github/workflows/issue-robot.yml
dest: .github/workflows/issue-robot.yml
replace: false
- source: .github/workflows/stale.yml
dest: .github/workflows/stale.yml
replace: false
OpenIMSDK/OpenIM-Docs:
- source: .github/workflows/
@ -69,8 +65,9 @@ group:
- source: LICENSE
dest: LICENSE
replace: false
- source: .github/workflows/
dest: .github/workflows/
exclude: |
e2e-test.yml
sync.yml
- source: .github/workflows/issue-robot.yml
dest: .github/workflows/issue-robot.yml
replace: false
- source: .github/workflows/stale.yml
dest: .github/workflows/stale.yml
replace: false

@ -1,6 +1,5 @@
# name: Check-Coverage
# on:
# workflow_dispatch:
# push:

@ -0,0 +1,19 @@
name: Good frist issue add comment
on:
issues:
types:
- labeled
jobs:
add-comment:
if: github.event.label.name == 'help-wanted' || github.event.label.name == 'good-first-issue'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f
with:
issue-number: ${{ github.event.issue.number }}
body: |
This issue is available for anyone to work on. **Make sure to reference this issue in your pull request.** :sparkles: Thank you for your contribution! :sparkles:
If you wish to accept this assignment, please leave a comment in the comments section: `/accept`.🎯

@ -0,0 +1,22 @@
# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
name: Move assigned card
on:
issues:
types:
- assigned
pull_request:
types:
- assigned
jobs:
move-assigned-card:
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus@v0.8.3
with:
project: OpenIM 2023 Sprint 🔥
column: In Progress
repo-token: ${{ secrets.BOT_GITHUB_TOKEN }}
Loading…
Cancel
Save