diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..abb6201 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,12 @@ +## 関連チケット +- 関連するチケット番号を記載してください(#13のような形式) + +## 変更内容 +- この変更で何をしましたか? + +## 動作確認 +- どういった手順で動作確認を行いましたか? +- できれば結果がわかるスクリーンショットや、動画をテンプしてください。 + +## その他 +- レビュワーへ伝えたい内容 \ No newline at end of file diff --git a/.github/workflows/link-pullrequest-to-issue.yaml b/.github/workflows/link-pullrequest-to-issue.yaml new file mode 100644 index 0000000..a7e8860 --- /dev/null +++ b/.github/workflows/link-pullrequest-to-issue.yaml @@ -0,0 +1,17 @@ +name: 'Link pull request to issue.' +on: + pull_request: + types: [opened] + +jobs: + issue-links: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: tkt-actions/add-issue-links@v1.8.2 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}' + branch-prefix: '/' + resolve: 'true' + link-style: 'comment' \ No newline at end of file