Loading...
Loading...
Compare original and translation side by side
ghprojectghprojectundefinedundefined
ユーザーに対象プロジェクトの番号を確認する。
向用户确认目标项目的编号。GITHUB_TOKENprojectissuespull_requestsPROJECT_TOKENProjects: Read and writeactions/create-github-app-tokenGITHUB_TOKENprojectissuespull_requestsPROJECT_TOKENProjects: Read and writeactions/create-github-app-tokenFandhe-AI/actions/project-sync.github/workflows/project-sync.ymlname: Project Sync
on:
issues:
types: [opened, closed, reopened]
pull_request:
types: [opened, closed, ready_for_review, review_requested]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync project status
uses: Fandhe-AI/actions/project-sync@main
with:
project-number: '<number>'
project-owner: '<owner>'
token: ${{ secrets.PROJECT_TOKEN }}name: Project Sync
on:
issues:
types: [opened, closed, reopened]
pull_request:
types: [opened, closed, ready_for_review, review_requested]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: '<owner>'
- name: Sync project status
uses: Fandhe-AI/actions/project-sync@main
with:
project-number: '<number>'
project-owner: '<owner>'
token: ${{ steps.token.outputs.token }} - name: Sync project status
uses: Fandhe-AI/actions/project-sync@main
with:
project-number: '<number>'
project-owner: '<owner>'
token: ${{ secrets.PROJECT_TOKEN }}
status-todo: 'バックログ'
status-in-progress: '作業中'
status-in-review: 'レビュー中'
status-done: '完了'Fandhe-AI/actions/project-sync.github/workflows/project-sync.ymlname: Project Sync
on:
issues:
types: [opened, closed, reopened]
pull_request:
types: [opened, closed, ready_for_review, review_requested]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync project status
uses: Fandhe-AI/actions/project-sync@main
with:
project-number: '<number>'
project-owner: '<owner>'
token: ${{ secrets.PROJECT_TOKEN }}name: Project Sync
on:
issues:
types: [opened, closed, reopened]
pull_request:
types: [opened, closed, ready_for_review, review_requested]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: '<owner>'
- name: Sync project status
uses: Fandhe-AI/actions/project-sync@main
with:
project-number: '<number>'
project-owner: '<owner>'
token: ${{ steps.token.outputs.token }} - name: Sync project status
uses: Fandhe-AI/actions/project-sync@main
with:
project-number: '<number>'
project-owner: '<owner>'
token: ${{ secrets.PROJECT_TOKEN }}
status-todo: 'バックログ'
status-in-progress: '作業中'
status-in-review: 'レビュー中'
status-done: '完了'| イベント | アクション | Status |
|---|---|---|
| Issue | opened | Todo |
| Issue | closed | Done |
| Issue | reopened | Todo |
| PR | opened | In Progress |
| PR | ready_for_review | In Review |
| PR | review_requested | In Review |
| PR | closed (merged) | Done |
| PR | closed (not merged) | Todo |
| 事件 | 操作 | Status |
|---|---|---|
| Issue | opened | Todo |
| Issue | closed | Done |
| Issue | reopened | Todo |
| PR | opened | In Progress |
| PR | ready_for_review | In Review |
| PR | review_requested | In Review |
| PR | closed (merged) | Done |
| PR | closed (not merged) | Todo |
mkdir -p .github/workflowsmkdir -p .github/workflows
ユーザーにコミット・プッシュを案内する。
---
引导用户提交并推送该文件。
---gh project item-list <number> \
--owner <owner> \
--format json \
--limit 999gh project item-list <number> \
--owner <owner> \
--format json \
--limit 999gh issue view <issue-url> --json state,labels,assignees
gh pr view <pr-url> --json state,isDraft,reviewRequests,mergedgh issue view <issue-url> --json state,labels,assignees
gh pr view <pr-url> --json state,isDraft,reviewRequests,mergedgh issue list --state open --json number,url,title --limit 999
gh pr list --state open --json number,url,title --limit 999gh issue list --state open --json number,url,title --limit 999
gh pr list --state open --json number,url,title --limit 999undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined| 操作 | 件数 |
|---|---|
| ステータス更新 | N 件 |
| 新規追加 | M 件 |
| 変更なし | K 件 |
| 操作 | 数量 |
|---|---|
| 状态更新 | N项 |
| 新增项目项 | M项 |
| 无变更 | K项 |
GITHUB_TOKENproject-initGIT_SSL_NO_VERIFY=1GITHUB_TOKENproject-initGIT_SSL_NO_VERIFY=1GIT_SSL_NO_VERIFY=1git pushgh project item-editgh issue listdocs/sandbox-tls.mdGIT_SSL_NO_VERIFY=1git pushgh project item-editgh issue listdocs/sandbox-tls.md