From 8ce23eaed7f875071a8e6c2346eaee651672037f Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 7 Sep 2023 15:54:43 +0800 Subject: [PATCH] chore: Delete pr-contributor-welcome action (#44685) Signed-off-by: afc163 --- .github/workflows/pr-contributor-welcome.yml | 54 -------------------- 1 file changed, 54 deletions(-) delete mode 100644 .github/workflows/pr-contributor-welcome.yml diff --git a/.github/workflows/pr-contributor-welcome.yml b/.github/workflows/pr-contributor-welcome.yml deleted file mode 100644 index 3175d4be2072..000000000000 --- a/.github/workflows/pr-contributor-welcome.yml +++ /dev/null @@ -1,54 +0,0 @@ -# 当 PR 被合并时,留言欢迎加入共建群 -name: PullRequest Contributor Welcome - -on: - pull_request_target: - types: - - closed - paths: - - 'components/**' - -jobs: - read-file: - runs-on: ubuntu-latest - outputs: - require-result: ${{ steps.contributors.outputs.content }} - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Read contributors.json - id: contributors - uses: juliangruber/read-file-action@v1 - with: - path: ./contributors.json - - output-log: - runs-on: ubuntu-latest - needs: read-file - steps: - - name: contributors.json - run: echo "${{ needs.read-file.outputs.require-result }}" - - name: creator - run: echo "${{ github.event.pull_request.user.login }}" - - name: contains - run: echo "${{ contains(fromJSON(needs.read-file.outputs.require-result), github.event.pull_request.user.login) }}" - - name: merged - run: echo "${{ github.event.pull_request.merged }}" - - 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: ''