Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/add-docs-sig-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Assign to Project

on:
issue:
types: [opened]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to Docs SIG Project
steps:
- name: Assign NEW issues to Docs SIG project
uses: srggrs/assign-one-project-github-action@1.2.0
if: github.event.action == 'opened'
with:
project: 'https://github.com/pingcap/docs-cn/projects/1'
column_name: 'Issue: Backlog'
19 changes: 19 additions & 0 deletions .github/workflows/add-docs-sig-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Assign to Project

on:
pull_request:
types: [opened]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to Docs SIG Project
steps:
- name: Assign NEW pull requests to Docs SIG project
uses: srggrs/assign-one-project-github-action@1.2.0
if: github.event.action == 'opened'
with:
project: 'https://github.com/pingcap/docs-cn/projects/1'
column_name: 'PR: In Progress'
23 changes: 23 additions & 0 deletions .github/workflows/translation-welcome.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Translation Welcome

on:
issues:
types: [unlabeled, labeled]
pull_request:
types: [unlabeled, labeled]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Auto Add to Project
steps:
- name: Add translation-welcome PRs/Issues to Project
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'translation/welcome') ||
contains(github.event.pull_request.labels.*.name, 'translation/welcome')
with:
project: 'https://github.com/pingcap/docs-cn/projects/2'
column_name: 'To do'