feat: project actions

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

37
.github/sync.yml vendored

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

@ -1,6 +1,5 @@
# name: Check-Coverage # name: Check-Coverage
# on: # on:
# workflow_dispatch: # workflow_dispatch:
# push: # 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