diff --git a/.github/workflows/pr-contributor-welcome.yml b/.github/workflows/pr-contributor-welcome.yml new file mode 100644 index 000000000000..302e9c71535b --- /dev/null +++ b/.github/workflows/pr-contributor-welcome.yml @@ -0,0 +1,28 @@ +# 当 PR 被合并时,留言欢迎加入共建群 +name: PullRequest Contributor Welcome + +on: + pull_request_target: + types: + - closed + paths: + - 'components/**' + +jobs: + check-merged: + runs-on: ubuntu-latest + needs: read-file + if: github.event.pull_request.merged == true + steps: + - uses: actions-cool/maintain-one-comment@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + body: | + 🎉 Thanks for contribution. Please feel free to join DingTalk Social Community (Provide the PR link please). + + 🎉 感谢参与贡献,欢迎扫码加入钉钉社区(进群后请提供 PR 地址)。 + + + + + body-include: '' \ No newline at end of file diff --git a/package.json b/package.json index 70ced90bb945..fa6a79bf0bc3 100644 --- a/package.json +++ b/package.json @@ -182,7 +182,7 @@ "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.2", "@types/fs-extra": "^11.0.1", - "@types/gtag.js": "^0.0.12", + "@types/gtag.js": "^0.0.13", "@types/http-server": "^0.12.1", "@types/inquirer": "^9.0.3", "@types/isomorphic-fetch": "^0.0.36", @@ -236,7 +236,7 @@ "fast-glob": "^3.2.11", "fetch-jsonp": "^1.1.3", "fs-extra": "^11.0.0", - "gh-pages": "^5.0.0", + "gh-pages": "^6.0.0", "glob": "^10.0.0", "html2sketch": "^1.0.0", "http-server": "^14.0.0",