diff --git a/.github/workflows/sync-sips.yml b/.github/workflows/sync-sips.yml new file mode 100644 index 0000000000..cdcc7e8fe6 --- /dev/null +++ b/.github/workflows/sync-sips.yml @@ -0,0 +1,42 @@ +name: Sync SIPs + +on: + schedule: + - cron: '0 6 * * *' # Daily at 6 AM UTC + workflow_dispatch: # Allow manual trigger + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Fetch SIPs from improvement-proposals + run: | + rm -rf _sips/sips + mkdir -p _sips/sips + git clone --depth 1 --filter=blob:none --sparse https://github.com/scala/improvement-proposals.git /tmp/improvement-proposals + cd /tmp/improvement-proposals + git sparse-checkout set content + cp -r content/* $GITHUB_WORKSPACE/_sips/sips/ + + - name: Check for changes + id: changes + run: | + git add _sips/sips + if git diff --staged --quiet; then + echo "changed=false" >> $GITHUB_OUTPUT + else + echo "changed=true" >> $GITHUB_OUTPUT + fi + + - name: Create Pull Request + if: steps.changes.outputs.changed == 'true' + uses: peter-evans/create-pull-request@v5 + with: + commit-message: "Sync SIPs from scala/improvement-proposals" + title: "Sync SIPs from scala/improvement-proposals" + body: | + Automated sync of SIP content from [scala/improvement-proposals](https://github.com/scala/improvement-proposals). + branch: sync-sips + delete-branch: true diff --git a/Gemfile.lock b/Gemfile.lock index 77e4acdf9c..8c4594c786 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,6 +57,7 @@ GEM logger faraday-net_http (3.4.0) net-http (>= 0.5.0) + ffi (1.17.1-aarch64-linux-gnu) ffi (1.17.1-arm64-darwin) ffi (1.17.1-x64-mingw-ucrt) ffi (1.17.1-x86_64-linux-gnu) @@ -264,6 +265,8 @@ GEM minitest (5.25.4) net-http (0.6.0) uri + nokogiri (1.18.9-aarch64-linux-gnu) + racc (~> 1.4) nokogiri (1.18.9-arm64-darwin) racc (~> 1.4) nokogiri (1.18.9-x64-mingw-ucrt) @@ -318,6 +321,7 @@ GEM zeitwerk (2.7.2) PLATFORMS + aarch64-linux arm64-darwin-22 arm64-darwin-23 arm64-darwin-24 diff --git a/_config.yml b/_config.yml index 4739a1d24d..c774d59e17 100644 --- a/_config.yml +++ b/_config.yml @@ -15,9 +15,9 @@ keywords: - Document - Guide -scala-version: 2.13.17 +scala-version: 2.13.18 scala-212-version: 2.12.20 -scala-3-version: 3.7.3 +scala-3-version: 3.7.4 collections: style: diff --git a/_ja/getting-started/install-scala.md b/_ja/getting-started/install-scala.md index a85f87263c..76695cf17d 100644 --- a/_ja/getting-started/install-scala.md +++ b/_ja/getting-started/install-scala.md @@ -178,4 +178,4 @@ IDE の使用に慣れている場合は、IDE から _Main.scala_ のコード 他の Scala ユーザーとすぐに連絡を取りたい場合は、多くのメーリングリストやリアルタイムのチャットルームがあります。これらのリソースのリストや、どこに問い合わせればよいかについては、[コミュニティページ](https://scala-lang.org/community/)をご覧ください。 ### (日本語のみ追記) -Scala について日本語で質問したい場合、Twitterでつぶやくと気づいた人が教えてくれます。 +Scala について日本語で質問したい場合、X(旧Twitter)でつぶやくと気づいた人が教えてくれます。 diff --git a/_layouts/root-content-layout.html b/_layouts/root-content-layout.html index b45513d346..31c9b14ae7 100644 --- a/_layouts/root-content-layout.html +++ b/_layouts/root-content-layout.html @@ -20,7 +20,7 @@ {% else %}
 
{% endif %} -

{{ page.title }}

+

{% if page.layout == 'sip' and page.number %}{{ page.kind | default: 'SIP' }}-{{ page.number }} - {% endif %}{{ page.title }}