Skip to content

Conversation

@3w36zj6
Copy link
Member

@3w36zj6 3w36zj6 commented Oct 26, 2025

変更点

  • Typstの最新版のリリースごとに手動で行っていた、上流リポジトリの取り込み作業を自動化する、GitHub Actionsのworkflowを追加した

確認方法

  1. このPRのfeatureブランチを個人アカウントのリモートリポジトリのmainブランチにpushする
  2. リポジトリのActionsタブで該当のworkflowを開き、Run workflowのUpstream tag to mergeにマージ先のタグ名(e.g., v0.14.0)を入力し実行する
  3. コンフリクトマーカーを含んだPull Requestが自動で作成され、コンフリクトの解決が必要なファイル一覧が出力される

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR automates the process of merging upstream changes from the typst/typst repository by adding a GitHub Actions workflow. Previously, this merge process was performed manually with each new Typst release.

Key Changes:

  • Added a workflow that creates a PR with upstream changes, including conflict markers for manual resolution
  • Configured Git merge strategies to preserve repository-specific files during upstream merges

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/merge-upstream.yml GitHub Actions workflow that fetches upstream changes, attempts merge with conflict preservation, and creates a PR with conflict detection
.gitattributes Defines merge strategies to keep repository-specific files (workflows, templates, README) unchanged during upstream merges

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@ultimatile ultimatile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

確認しました
ultimatile#1

Copy link
Contributor

@gomazarashi gomazarashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご対応ありがとうございます!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants