Skip to content

最新のウィキを自動マージする GitHub Actions のワークフローを実装 #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 70 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
f4f627a
Dependabot のプルリクエストを自動マージする仕組み
Takym Nov 26, 2023
4a46ccc
Update "Merge Dependabot PR"
Takym Nov 26, 2023
4414766
Bump wiki from `2c39a0b` to `4a65ba2`
dependabot[bot] Nov 26, 2023
6916e2d
Update "Merge Dependabot PR"
Takym Nov 26, 2023
1d06415
Merge pull request #3 from Takym/dependabot/submodules/wiki-4a65ba2
github-actions[bot] Nov 26, 2023
8b62c0b
Jekyll ビルド用のコマンドを追加
Takym Nov 26, 2023
8f0ab57
Merge branch 'master' of https://github.com/Takym/osdev-jp
Takym Nov 26, 2023
e916320
"Merge Dependabot PR" の権限を制限
Takym Nov 26, 2023
d89bfa7
Bump wiki from `4a65ba2` to `2b714d4`
dependabot[bot] Nov 26, 2023
1ff582a
Merge pull request #5 from Takym/dependabot/submodules/wiki-2b714d4
github-actions[bot] Nov 26, 2023
93a2d7a
"Merge Dependabot PR" のマージ対象のPRをサブモジュールに限定
Takym Nov 26, 2023
d6d04fa
Merge branch 'master' of https://github.com/Takym/osdev-jp
Takym Nov 26, 2023
3216792
Bump wiki from `2b714d4` to `22450b3`
dependabot[bot] Nov 26, 2023
0c5c94a
Merge pull request #6 from Takym/dependabot/submodules/wiki-22450b3
github-actions[bot] Nov 26, 2023
8e4c09d
Bump wiki from `22450b3` to `72b7e06`
dependabot[bot] Nov 27, 2023
8bcc538
Merge pull request #7 from Takym/dependabot/submodules/wiki-72b7e06
github-actions[bot] Nov 27, 2023
abde202
Bump wiki from `72b7e06` to `e5c54b1`
dependabot[bot] Jan 8, 2024
7c25ddb
Merge pull request #8 from Takym/dependabot/submodules/wiki-e5c54b1
github-actions[bot] Jan 8, 2024
773da39
Merge branch 'master' of https://github.com/osdev-jp/osdev-jp.github.…
Takym Jan 8, 2024
d14c4ea
Merge branch 'osdev-jp-master'
Takym Jan 8, 2024
9c88d95
Bump wiki from `e5c54b1` to `9ded830`
dependabot[bot] Feb 19, 2024
b5b54c3
Merge pull request #10 from Takym/dependabot/submodules/wiki-9ded830
github-actions[bot] Feb 19, 2024
6ea3200
Bump wiki from `9ded830` to `8d972b5`
dependabot[bot] Apr 2, 2024
e43b621
Merge pull request #11 from Takym/dependabot/submodules/wiki-8d972b5
github-actions[bot] Apr 2, 2024
67f4623
Bump wiki from `8d972b5` to `bbee3e2`
dependabot[bot] May 28, 2024
42692ac
Merge pull request #12 from Takym/dependabot/submodules/wiki-bbee3e2
github-actions[bot] May 28, 2024
061dd96
Bump wiki from `bbee3e2` to `727134c`
dependabot[bot] Jun 14, 2024
1736fe6
Merge pull request #13 from Takym/dependabot/submodules/wiki-727134c
github-actions[bot] Jun 14, 2024
a81a5ed
Bump wiki from `727134c` to `2b13bf1`
dependabot[bot] Jul 29, 2024
402bbf2
Merge pull request #14 from Takym/dependabot/submodules/wiki-2b13bf1
github-actions[bot] Jul 29, 2024
6ec63b7
Merge branch 'master' of https://github.com/osdev-jp/osdev-jp.github.io
Takym Aug 10, 2024
5aa6ee6
Merge branch 'master' of https://github.com/Takym/osdev-jp
Takym Aug 10, 2024
2aa31d7
Bump wiki from `2b13bf1` to `253fb53`
dependabot[bot] Aug 12, 2024
093e40b
Merge pull request #16 from Takym/dependabot/submodules/wiki-253fb53
github-actions[bot] Aug 12, 2024
d64f4d4
Bump wiki from `253fb53` to `0c8f50c`
dependabot[bot] Sep 2, 2024
ccc7b06
Merge pull request #17 from Takym/dependabot/submodules/wiki-0c8f50c
github-actions[bot] Sep 2, 2024
72e0f62
Bump wiki from `0c8f50c` to `c6378aa`
dependabot[bot] Sep 9, 2024
f3b1287
Merge pull request #18 from Takym/dependabot/submodules/wiki-c6378aa
github-actions[bot] Sep 9, 2024
929065a
Merge pull request #19 from osdev-jp/master
Takym Sep 27, 2024
5573b57
Bump wiki from `c6378aa` to `66fa44f`
dependabot[bot] Sep 29, 2024
8c1c08a
Merge pull request #20 from Takym/dependabot/submodules/wiki-66fa44f
github-actions[bot] Sep 29, 2024
86a4939
サイトマップ自動生成
Takym Oct 6, 2024
0eba283
Bump wiki from `66fa44f` to `3ada44c`
dependabot[bot] Oct 7, 2024
e6a6359
Merge pull request #21 from Takym/dependabot/submodules/wiki-3ada44c
github-actions[bot] Oct 7, 2024
daad457
Bump wiki from `3ada44c` to `b47c70b`
dependabot[bot] Dec 9, 2024
7509535
Merge pull request #22 from Takym/dependabot/submodules/wiki-b47c70b
github-actions[bot] Dec 9, 2024
01e9249
Bump wiki from `b47c70b` to `ae8cdc0`
dependabot[bot] Mar 3, 2025
8121fdf
Merge pull request #23 from Takym/dependabot/submodules/wiki-ae8cdc0
github-actions[bot] Mar 3, 2025
e4e2330
Bump wiki from `ae8cdc0` to `ad622a1`
dependabot[bot] May 12, 2025
6bf01bb
Merge pull request #24 from Takym/dependabot/submodules/wiki-ad622a1
github-actions[bot] May 12, 2025
3a96846
Bump wiki from `ad622a1` to `7058b48`
dependabot[bot] Jun 2, 2025
aca24ab
Merge pull request #25 from Takym/dependabot/submodules/wiki-7058b48
github-actions[bot] Jun 2, 2025
bdec22c
Merge branch 'master' of https://github.com/osdev-jp/osdev-jp.github.…
Takym Jul 12, 2025
0ee8cb5
Bump wiki from `c6378aa` to `647ed4b`
dependabot[bot] Jul 14, 2025
f3e6ff7
Merge pull request #29 from Takym/dependabot/submodules/wiki-647ed4b
github-actions[bot] Jul 14, 2025
923cb41
Bump wiki from `647ed4b` to `4e4130f`
dependabot[bot] Jul 15, 2025
74ee8c4
Merge pull request #30 from Takym/dependabot/submodules/wiki-4e4130f
github-actions[bot] Jul 15, 2025
7e5336a
Dependabot を使う方式から GitHub Workflow を自動実行する方式に変更
Takym Jul 15, 2025
3f98711
修正
Takym Jul 15, 2025
b429ff5
ワークフロー修正
Takym Jul 15, 2025
4e5c5bf
[BOT] Update Wiki Submodule to the Current Latest version
Jul 15, 2025
603cf51
ステータスバッジ追加
Takym Jul 15, 2025
9a23a8a
Merge branch 'master' of https://github.com/Takym/osdev-jp
Takym Jul 15, 2025
508041d
[BOT] Update Wiki Submodule to the Current Latest version
Jul 15, 2025
5a34809
Merge branch 'master' into master
Takym Jul 15, 2025
066df40
[BOT] Update Wiki Submodule to the Current Latest version
Jul 16, 2025
ca4a75d
[BOT] Update Wiki Submodule to the Current Latest version
Jul 17, 2025
ce26c61
[BOT] Update Wiki Submodule to the Current Latest version
Jul 28, 2025
b542e64
[BOT] Update Wiki Submodule to the Current Latest version
Jul 31, 2025
05c6cd3
[BOT] Update Wiki Submodule to the Current Latest version
Aug 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
version: 2
updates:
- package-ecosystem: "gitsubmodule"
- package-ecosystem: gitsubmodule
directory: "/"
schedule:
interval: "monthly"
interval: daily
- package-ecosystem: github-actions
directory: "/.github/workflows/"
schedule:
interval: daily
41 changes: 41 additions & 0 deletions .github/workflows/UpdateWikiSubmodule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: "Update Wiki Submodule"

on:
push:
branches: [ master ]
pull_request:
types: [ opened, reopened ]
branches: [ master ]
schedule:
- cron: "0 18 * * *" # 日本時間で毎日午前三時に自動実行
workflow_dispatch:

jobs:
merge:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Switch to Master Branch"
run: |
git fetch origin
git checkout master
- name: "Load Submodule"
run: git submodule update --init --recursive
- name: "Update Wiki Directory"
run: |
cd wiki
git fetch origin
git pull origin master
cd ..
- name: "Configure git user information."
run: |
git config --local user.email "noreply@localhost"
git config --local user.name "[BOT] Wiki Submodule Updater"
- name: "Commit & Push"
run: |
git add wiki
git commit -m "[BOT] Update Wiki Submodule to the Current Latest version" || exit $(($? - 1))
git push
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_site/
Gemfile.lock
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gem "github-pages", group: :jekyll_plugins
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# osdev-jp
[![Update Wiki Submodule](https://github.com/osdev-jp/osdev-jp.github.io/actions/workflows/UpdateWikiSubmodule.yml/badge.svg)](https://github.com/osdev-jp/osdev-jp.github.io/actions/workflows/UpdateWikiSubmodule.yml)

## 第46回自作OSもくもく会オンラインのご案内!
OS自作をやっている人々で集まって,進捗を共有したり,みんなで黙々と作業する時間を取る会です!
7月27日(日)開催です!
Expand Down
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ theme: jekyll-theme-minimal
title: osdev.jp
description: osdev-jpでは、OS開発に有用な情報を収集し公開しています
logo: logo.png
plugins:
- jekyll-sitemap
markdown: GFM
2 changes: 2 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
wsl bundle exec jekyll b
2 changes: 2 additions & 0 deletions serve.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
wsl bundle exec jekyll s
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from 88049b to 121172