diff --git a/.github/labeler.yaml b/.github/labeler.yaml new file mode 100644 index 00000000..5d4053eb --- /dev/null +++ b/.github/labeler.yaml @@ -0,0 +1,4 @@ +# ルート上のファイルの更新は、すべて「automerge」ラベルをつける + +automerge: + - ./* diff --git a/.github/workflows/auto-close-pr.yaml b/.github/workflows/auto-close-pr.yaml new file mode 100644 index 00000000..68748c1e --- /dev/null +++ b/.github/workflows/auto-close-pr.yaml @@ -0,0 +1,25 @@ +name: Close Pull Request + +on: + pull_request_target: + types: [opened] + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@v3 + with: + # Optional. Post a issue comment just before closing a pull request. + comment: "プルリクエストありがとうございます👏 + + +現在たくさんのプルリクをいただいているため、セキュリティ上の理由によりマージすることができません。 + +そのため自動でクローズさせていただきますね😄 + +ぜひ、何度でも練習してください🎵 + + +📝エルマスより" + diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 9b173d78..f6cd16b7 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -1,26 +1,55 @@ +name: Automerge + +on: + # Try merging all open pull requests. (Only recommended for testing.) + push: + + # Try merging all open pull requests. + schedule: + - cron: 0 * * * * + + # Try merging pull requests belonging to a workflow run. + workflow_run: + workflows: + - CI + types: + - completed + + # Try merging pull requests belonging to a check suite. + check_suite: + types: + - completed + + # Try merging a pull request when it is approved. + pull_request_review: + types: + - submitted + + # Try merging a pull request when a draft is marked as “ready for review”, when + # a required label is applied or when a “do not merge” label is removed. + pull_request_target: + types: + - labeled + - unlabeled + - ready_for_review + + # Try merging the specified pull request or all open pull requests if none is specified. + workflow_dispatch: + inputs: + pull-request: + description: Pull Request Number + required: false + jobs: - # Other jobs are defined above. https://github.com/ridedott/merge-me-action - merge-me: - name: Merge me! - needs: - - all - - other - - required - - jobs + automerge: + if: github.event.review.state == 'approved' || !github.event.review runs-on: ubuntu-latest steps: - - name: Merge me! - uses: ridedott/merge-me-action@v1 + - uses: reitermarkus/automerge@v1.5.1 with: - # Depending on branch protection rules, a manually populated - # `GITHUB_TOKEN_WORKAROUND` environment variable with permissions to - # push to a protected branch must be used. This variable can have an - # arbitrary name, as an example, this repository uses - # `GITHUB_TOKEN_DOTTBOTT`. - # - # When using a custom token, it is recommended to leave the following - # comment for other developers to be aware of the reasoning behind it: - # - # This must be used as GitHub Actions token does not support - # pushing to protected branches. - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.MY_GITHUB_TOKEN }} + merge-method: rebase + do-not-merge-labels: never-merge + required-labels: automerge + pull-request: ${{ github.event.inputs.pull-request }} + dry-run: false diff --git a/.github/workflows/label.yaml b/.github/workflows/label.yaml new file mode 100644 index 00000000..64215a35 --- /dev/null +++ b/.github/workflows/label.yaml @@ -0,0 +1,12 @@ +name: Labeler +on: [pull_request] + +jobs: + label: + runs-on: ubuntu-latest + + steps: + - uses: actions/labeler@v3 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: ".github/labeler.yaml" diff --git a/.gitignore b/.gitignore index d6a2fc16..7591fc1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ .DS_Store Thumbs.db -yuma.txt \ No newline at end of file +test.txt +Takahashi.txt +bluetortoise.txt +.txt +*.sw? \ No newline at end of file diff --git a/Hayashida.txt b/Hayashida.txt new file mode 100644 index 00000000..785a61ba --- /dev/null +++ b/Hayashida.txt @@ -0,0 +1 @@ +p̃eLXgt@C܂B diff --git a/Hyakutake.txt b/Hyakutake.txt new file mode 100644 index 00000000..2dc8cc1c --- /dev/null +++ b/Hyakutake.txt @@ -0,0 +1 @@ +練習Hyakutake diff --git a/Ksyu.txt b/Ksyu.txt new file mode 100644 index 00000000..e69de29b diff --git a/wakabachan.txt b/Mhanakura.txt similarity index 100% rename from wakabachan.txt rename to Mhanakura.txt diff --git a/Misa_n.txt b/Misa_n.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/Misa_n.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..eddab773 --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +# pull-request-practice + +- これは書籍[「わかばちゃんと学ぶGit使い方入門」](https://amzn.to/2GfKnnd)のプルリクエスト練習用リポジトリです。 +- プルリクを送る練習が自由にできます +- ありがたいことにプルリクいただく数が多く、すべてをマージできていません。**あくまでもプルリクを「送る」練習**として考えていただければと思います♪ + +## 名前とメールアドレスを記録したくない場合 + +このリポジトリは誰でもフォーク・クローンができる公開リポジトリです。 +コミット情報に名前とメールアドレスを記録したくない方は、SourceTreeの[設定]アイコン > [高度な設定]タブ( Windows版だと [詳細]タブ) > [ユーザー情報]欄から、ユーザー名を「ニックネーム」・メールアドレスを「自分のアカウント@名@users.noreply.github.com」にしてから練習してくださいね。 + + + +## 「Compare & pull request」のボタンが見当たらない場合 +読者様より、**GitHub上で「Compare & pull request」ボタンが見当たらない**という事例を報告いただきました。 + +どうやらタイミングによって表示されないことがあるようです。以下のブログに、対応方法をまとめましたので参考にしていただけますと幸いです。 + +[GitHub上でプルリクを出す方法:「Compare & pull request」のボタンが見当たらない場合 ](https://note.com/llminatoll/n/n03bf5aac004b) + + +## 本リポジトリ対応書籍 + + +Git使い方入門 + +「わかばちゃんと学ぶGitの使い方入門」 + +出版社:シーアンドアール研究所 + +- CHAPTER 1 Gitって何? +- CHAPTER 2 個人でGitを使ってみよう +- CHAPTER 3 複数人でGitを使ってみよう +- CHAPTER 4 実用Git 〜 こんなときはどうすればいい? +- CHAPTER 5 Gitで広がる世界 + +ステージングエリアやブランチの概念、マージ・リベース・コンフリクト解決・プルリク・GitHub Flowといった基本の使い方はもちろん、CHAPTER4では、間違えた時の回復(revert、amend、detached HEADからの脱出など)も入っています。 + +マンガ・図解解説に沿って実践すれば、実在の練習用リポジトリでプルリクを試せたり、サンプルサイトをGitHub Pagesにアップできたりもします。 + +Git初心者のわかばちゃんと一緒に、楽しくGitをマスターしましょう! + +試し読みはこちらからどうぞ + +## わかばちゃんが登場する書籍いろいろ +
+f:id:itstaffing:20210113102514j:plain f:id:itstaffing:20210113102516j:plain +
+
+f:id:itstaffing:20210113102521j:plain +
+


わかばちゃんと学ぶシリーズ(Amazonページ)

+ + diff --git a/Toyoji.txt b/Toyoji.txt new file mode 100644 index 00000000..329acb28 --- /dev/null +++ b/Toyoji.txt @@ -0,0 +1 @@ + 自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/addmywife.txt b/addmywife.txt new file mode 100644 index 00000000..5001dbc0 --- /dev/null +++ b/addmywife.txt @@ -0,0 +1,3 @@ +yeah + +ベリーベリー器量よし \ No newline at end of file diff --git a/asa129.txt b/asa129.txt new file mode 100644 index 00000000..4902357c --- /dev/null +++ b/asa129.txt @@ -0,0 +1 @@ +自分のテキストファイルを作りました。 \ No newline at end of file diff --git a/aspiration_3.txt b/aspiration_3.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/aspiration_3.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/bluetortoise.txt b/bluetortoise.txt new file mode 100644 index 00000000..a9129d4b --- /dev/null +++ b/bluetortoise.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作ったど。 \ No newline at end of file diff --git a/cmjito.txt b/cmjito.txt new file mode 100644 index 00000000..e69de29b diff --git a/cmjito2.txt b/cmjito2.txt new file mode 100644 index 00000000..e69de29b diff --git a/ebimayo.txt b/ebimayo.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/ebimayo.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/eri-toshikawa.txt b/eri-toshikawa.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/eri-toshikawa.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/gororo.txt b/gororo.txt new file mode 100644 index 00000000..65eb6a44 --- /dev/null +++ b/gororo.txt @@ -0,0 +1 @@ +自分用のファイル5656 \ No newline at end of file diff --git a/hidesukesan.txt b/hidesukesan.txt new file mode 100644 index 00000000..91acfd4f --- /dev/null +++ b/hidesukesan.txt @@ -0,0 +1,3 @@ +自分用のテキストファイルを作りました! + + diff --git a/hirokazu0208.php b/hirokazu0208.php new file mode 100644 index 00000000..a56dd5ed --- /dev/null +++ b/hirokazu0208.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/hiroki.txt b/hiroki.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/hiroki.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/hogehoge.txt b/hogehoge.txt new file mode 100644 index 00000000..e9bc1102 --- /dev/null +++ b/hogehoge.txt @@ -0,0 +1 @@ +hogehoge diff --git a/k-sakakibara.txt b/k-sakakibara.txt new file mode 100644 index 00000000..db9b9e52 --- /dev/null +++ b/k-sakakibara.txt @@ -0,0 +1 @@ +( ..)φメモメモ(自分用のテキストファイルを作りました。) \ No newline at end of file diff --git a/kkkk.txt b/kkkk.txt new file mode 100644 index 00000000..0a3e291c --- /dev/null +++ b/kkkk.txt @@ -0,0 +1 @@ +自分用のテキスト \ No newline at end of file diff --git a/koharu.txt b/koharu.txt new file mode 100644 index 00000000..9daeafb9 --- /dev/null +++ b/koharu.txt @@ -0,0 +1 @@ +test diff --git a/kouji39.txt b/kouji39.txt new file mode 100644 index 00000000..3c75a87d --- /dev/null +++ b/kouji39.txt @@ -0,0 +1 @@ +kouji39 \ No newline at end of file diff --git a/llminatoll.txt b/llminatoll.txt deleted file mode 100644 index c3e130a9..00000000 --- a/llminatoll.txt +++ /dev/null @@ -1,2 +0,0 @@ -湊川あいです! -好きなものは茎わかめと猫です。 \ No newline at end of file diff --git a/maesan.txt b/maesan.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/maesan.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/marumaki.txt b/marumaki.txt new file mode 100644 index 00000000..ef5d12bc --- /dev/null +++ b/marumaki.txt @@ -0,0 +1 @@ +わかばちゃんプルリクエスト用 \ No newline at end of file diff --git a/monrin198x.txt b/monrin198x.txt new file mode 100644 index 00000000..1cf5d7bc --- /dev/null +++ b/monrin198x.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作成しました。 diff --git a/mukaikatumi.txt b/mukaikatumi.txt new file mode 100644 index 00000000..cf7a5dc8 --- /dev/null +++ b/mukaikatumi.txt @@ -0,0 +1 @@ +mukaikatsumi \ No newline at end of file diff --git a/nakamura0527.txt b/nakamura0527.txt new file mode 100644 index 00000000..71c9261e --- /dev/null +++ b/nakamura0527.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 diff --git a/nyan.txt b/nyan.txt new file mode 100644 index 00000000..5b441eae --- /dev/null +++ b/nyan.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました \ No newline at end of file diff --git a/ooooo.txt b/ooooo.txt new file mode 100644 index 00000000..9f0fe5e8 --- /dev/null +++ b/ooooo.txt @@ -0,0 +1 @@ +自分のテキストファイルをつくりました。 \ No newline at end of file diff --git a/ot.txt b/ot.txt new file mode 100644 index 00000000..6031e6d2 --- /dev/null +++ b/ot.txt @@ -0,0 +1 @@ +p̃eLXgt@Clj܂B \ No newline at end of file diff --git a/papapa.txt b/papapa.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/papapa.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/r-takemoto.txt b/r-takemoto.txt new file mode 100644 index 00000000..8a55a58c --- /dev/null +++ b/r-takemoto.txt @@ -0,0 +1 @@ +自分のテキストファイルを作成しました。 \ No newline at end of file diff --git a/sakupuu.txt b/sakupuu.txt new file mode 100644 index 00000000..a67a4b7f --- /dev/null +++ b/sakupuu.txt @@ -0,0 +1 @@ +自分用のテキストを作りました!!!! diff --git a/shin-shin-yamamoto.txt b/shin-shin-yamamoto.txt new file mode 100644 index 00000000..71c9261e --- /dev/null +++ b/shin-shin-yamamoto.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 diff --git a/shinichiuyama.txt b/shinichiuyama.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/shinichiuyama.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/shirapon.txt b/shirapon.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/shirapon.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/shshshsh.txt b/shshshsh.txt new file mode 100644 index 00000000..b712dfcf --- /dev/null +++ b/shshshsh.txt @@ -0,0 +1 @@ +1 自分用テキストファイル \ No newline at end of file diff --git a/shuymst.txt b/shuymst.txt new file mode 100644 index 00000000..0193f639 --- /dev/null +++ b/shuymst.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作りました。 \ No newline at end of file diff --git a/sirius.txt b/sirius.txt new file mode 100644 index 00000000..acee110b --- /dev/null +++ b/sirius.txt @@ -0,0 +1,2 @@ +お世話になっております。 +自分用テキストファイルを作りました。 \ No newline at end of file diff --git a/spitz.txt b/spitz.txt new file mode 100644 index 00000000..acee110b --- /dev/null +++ b/spitz.txt @@ -0,0 +1,2 @@ +お世話になっております。 +自分用テキストファイルを作りました。 \ No newline at end of file diff --git a/stanaka219.txt b/stanaka219.txt new file mode 100644 index 00000000..e69de29b diff --git a/test-txt.txt b/test-txt.txt new file mode 100644 index 00000000..e69de29b diff --git a/testest.txt b/testest.txt new file mode 100644 index 00000000..42322456 --- /dev/null +++ b/testest.txt @@ -0,0 +1 @@ +jjjjjjjjjjjjjj \ No newline at end of file diff --git a/testtest.txt b/testtest.txt new file mode 100644 index 00000000..f36849f2 --- /dev/null +++ b/testtest.txt @@ -0,0 +1 @@ +テスト用テキスト \ No newline at end of file diff --git a/thom-jp.txt b/thom-jp.txt new file mode 100644 index 00000000..e69de29b diff --git a/tnagao.txt b/tnagao.txt new file mode 100644 index 00000000..bd40a199 --- /dev/null +++ b/tnagao.txt @@ -0,0 +1 @@ +練習用のテキストファイルを作りました。 \ No newline at end of file diff --git a/tst.txt b/tst.txt new file mode 100644 index 00000000..44917f60 --- /dev/null +++ b/tst.txt @@ -0,0 +1 @@ +自分用のテキストファイルを作成しました。 \ No newline at end of file diff --git a/wakaba.txt b/wakaba.txt new file mode 100644 index 00000000..4010a468 --- /dev/null +++ b/wakaba.txt @@ -0,0 +1 @@ +킩΂ \ No newline at end of file diff --git a/wata5f68.txt b/wata5f68.txt new file mode 100644 index 00000000..e9bc1102 --- /dev/null +++ b/wata5f68.txt @@ -0,0 +1 @@ +hogehoge diff --git a/yoshida.txt b/yoshida.txt new file mode 100644 index 00000000..ea939fc2 --- /dev/null +++ b/yoshida.txt @@ -0,0 +1 @@ +自分用テキストファイル \ No newline at end of file diff --git a/yuyakishii.txt b/yuyakishii.txt new file mode 100644 index 00000000..93a860b3 --- /dev/null +++ b/yuyakishii.txt @@ -0,0 +1 @@ +1 自分用のテキストファイルを作りました。 \ No newline at end of file diff --git "a/\343\201\257\343\201\222\343\201\257\343\201\222\343\201\257\345\244\247\347\216\213.txt" "b/\343\201\257\343\201\222\343\201\257\343\201\222\343\201\257\345\244\247\347\216\213.txt" new file mode 100644 index 00000000..d79e5e80 --- /dev/null +++ "b/\343\201\257\343\201\222\343\201\257\343\201\222\343\201\257\345\244\247\347\216\213.txt" @@ -0,0 +1 @@ +hage \ No newline at end of file