feat: add solutions to lc problem: No.0357 #3778
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
name: PR Labeled | |
on: | |
pull_request_target: | |
types: [labeled] | |
permissions: | |
contents: read | |
jobs: | |
issue-labeled: | |
permissions: | |
pull-requests: write # for actions-cool/issues-helper to update PRs | |
runs-on: ubuntu-latest | |
steps: | |
- name: supplement | |
if: github.event.label.name == 'supplement' | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: "create-comment" | |
token: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }} | |
issue-number: ${{ github.event.pull_request.number }} | |
body: | | |
@${{ github.event.pull_request.user.login }}, Please add the missing README_EN.md / README.md, please refer to the details for https://github.com/doocs/leetcode/pull/2590/files | |
@${{ github.event.pull_request.user.login }}, 请补充缺少的 README_EN.md / README.md, 详情参考 https://github.com/doocs/leetcode/pull/2590/files | |
- name: invalid | |
if: github.event.label.name == 'invalid' | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: "create-comment" | |
token: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }} | |
issue-number: ${{ github.event.pull_request.number }} | |
body: | | |
@${{ github.event.pull_request.user.login }}, Please refer to the project specifications provided by bot to check your PR. For PRs that have not been modified for a long time, we will close them and you are welcome to resubmit or correct them. | |
@${{ github.event.pull_request.user.login }}, 请参考 bot 提供的项目规范检查你的 PR,我们会关闭长时间未修改的 PR,欢迎你重新提交或更正。 |