Read this in other languages: English, 日本語.
これはプロジェクトのカードの移動によって Issue や PullRequest に自動的にラベルを付与する GitHub Actions
です。
.github/workflows/project-card-moved.yml
on:
project_card:
types: [moved]
name: Project Card Event
jobs:
triage:
name: Auto card labeler
runs-on: ubuntu-latest
steps:
- uses: technote-space/auto-card-labeler@v2
.github/card-labeler.yml
Project name1:
Column name1:
- 'Status: test1'
Column name2:
- 'Status: test2-1'
- 'Status: test2-2'
Project name2:
Column name3:
- 'Status: test1'
例:
Project name1:
Column name1:
- 'Status: test1'
Column name2:
- 'Status: test2-1'
- 'Status: test2-2'
Column name1
)
Status: test1
Status: test1
Column name2
Status: test2-1
Status: test2-2
Status: test1
Status: test2-1
Status: test2-2
Column name3
Status: test2-1
Status: test2-2
Column name1
Status: test1
Status: test1
name | description | default | required | e.g. |
---|---|---|---|---|
CONFIG_FILENAME | アクション用設定のファイル名 | card-labeler.yml |
true | card-labeler-setting.yml |
GITHUB_TOKEN | アクセストークン | ${{github.token}} |
true | ${{secrets.ACCESS_TOKEN}} |
eventName | action |
---|---|
project_card | moved |
project_card | created |