Skip to content

Latest commit

 

History

History
83 lines (71 loc) · 3.25 KB

README.ja.md

File metadata and controls

83 lines (71 loc) · 3.25 KB

Create Project Card Action

CI Status codecov CodeFactor License: MIT

Read this in other languages: English, 日本語.

Project card を作成する GitHub Actions です。

Table of Contents

Details

使用方法

e.g. issue_opened.yml

on:
  issues:
    types: [opened]
name: Issue opened
jobs:
  assign:
    name: Assign issues to project
    runs-on: ubuntu-latest
    steps:
      - name: Assign issues to project
        uses: technote-space/create-project-card-action@v1
        with:
          PROJECT: Backlog
          COLUMN: To do

e.g. pr-opened.yml

on:
  pull_request:
    types: [opened]
name: Pull Request opened
jobs:
  assignToProject:
    name: Assign PullRequest to Project
    runs-on: ubuntu-latest
    steps:
      - name: Assign PullRequest to Project
        uses: technote-space/create-project-card-action@v1
        with:
          PROJECT: Backlog
          COLUMN: To do

オプション

name description default required e.g.
PROJECT プロジェクト名 true Backlog
COLUMN カラム名 true To do
CHECK_ORG_PROJECT Organizationプロジェクトをチェックするかどうか
このオプションを使用する場合、admin へのアクセス許可が必要です。
secrets.GITHUB_TOKEN の代わりに Personal access token を使用してください。
false true
CHECK_USER_PROJECT Userプロジェクトをチェックするかどうか
このオプションを使用する場合、repo へのアクセス許可が必要です。
secrets.GITHUB_TOKEN の代わりに Personal access token を使用してください。
false true
GITHUB_TOKEN アクセストークン ${{github.token}} true ${{secrets.ACCESS_TOKEN}}

Action イベント詳細

対象イベント

eventName action
pull_request, pull_request_target opened, reopened
issues opened, reopened

Author

GitHub (Technote)
Blog