Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #4

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
13 changes: 13 additions & 0 deletions .github/workflows/auto_assign_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Add a new GitHub Project card linked to a GitHub issue to the specified project column
on: [issues]
jobs:
github-actions-automate-projects:
runs-on: ubuntu-latest
steps:
- name: add-new-issues-to-repository-based-project-column
uses: docker://takanabe/github-actions-automate-projects:v0.0.1
if: github.event_name == 'issues' && github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'component/expression')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PROJECT_URL: https://github.com/SunRunAway/tidb/projects/1
GITHUB_PROJECT_COLUMN_NAME: To do
32 changes: 32 additions & 0 deletions .github/workflows/lgtm-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: LGTM label
on:
pull_request_review:
types: [submitted]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: buildsville/add-remove-label@v1
if: >
!contains(github.event.issue.labels.*.name, 'status/LGT1') &&
!contains(github.event.issue.labels.*.name, 'status/LGT2') &&
(contains(github.event.review.body, 'LGTM') ||
contains(github.event.review.body, 'lgtm') ||
contains(github.event.review.body, 'Lgtm'))
with:
token: ${{secrets.GITHUB_TOKEN}}
label: 'status/LGT1'
type: add
- uses: buildsville/add-remove-label@v1
if: >
contains(github.event.issue.labels.*.name, 'status/LGT1') &&
!contains(github.event.issue.labels.*.name, 'status/LGT2') &&
(contains(github.event.review.body, 'LGTM') ||
contains(github.event.review.body, 'lgtm') ||
contains(github.event.review.body, 'Lgtm'))
env:
token: ${{secrets.GITHUB_TOKEN}}
label: 'status/LGT2'
type: add
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Read the [Quick Start Guide](https://pingcap.com/docs/QUICKSTART), which include
- [**Stack Overflow**](https://stackoverflow.com/questions/tagged/tidb)
- [**User Group (Chinese)**](https://asktug.com)

## Documentation
## Documentationx

+ [English](https://pingcap.com/docs)
+ [简体中文](https://pingcap.com/docs-cn)
Expand Down