fix: 修复暗色背景按钮字符颜色异常问题 #352
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 当 PR 被合并时,留言欢迎加入共建群 | |
name: PullRequest Contributor Welcome | |
on: | |
pull_request_target: | |
types: | |
- closed | |
permissions: | |
contents: read | |
jobs: | |
comment: | |
permissions: | |
issues: write # for actions-cool/maintain-one-comment to modify or create issue comments | |
pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments | |
if: github.event.pull_request.merged == true && github.repository == 'ant-design/ant-design-web3' && github.event.pull_request.user.login != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: get commit count | |
id: get_commit_count | |
run: | | |
PR_AUTHOR=$(echo "${{ github.event.pull_request.user.login }}") | |
RESULT_DATA=$(curl -s "https://api.github.com/repos/${{ github.repository }}/commits?author=${PR_AUTHOR}&per_page=5") | |
DATA_LENGTH=$(echo $RESULT_DATA | jq 'if type == "array" then length else 0 end') | |
echo "COUNT=$DATA_LENGTH" >> $GITHUB_OUTPUT | |
- name: Comment on PR | |
if: steps.get_commit_count.outputs.COUNT < 2 | |
uses: actions-cool/maintain-one-comment@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: | | |
🎉 Thank you for your contribution! If you have not yet joined our DingTalk community group, please feel free to join us. | |
🎉 感谢您的贡献!如果您还没有加入钉钉社区群,请扫描下方二维码加入我们。 | |
<img src="https://github.com/ant-design/ant-design-web3/assets/117748716/4427c32b-c73b-4ae2-b7d9-3b0a5142e4ea" alt="Ant Design Web3 Community Group QCcode" height="200" /> | |
<!-- WELCOME_CONTRIBUTION --> | |
body-include: '<!-- WELCOME_CONTRIBUTION -->' |