Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GitHub最新情報キャッチアップ 2024年3月

GitHub最新情報キャッチアップ 2024年3月

TECH Street主催「GitHub勉強会~GitHub Copilotの最新動向、GitHub Actionsなど~」でお話した資料です。
https://tech-street.connpass.com/event/305374/

Kazumi IWANAGA

March 21, 2024
Tweet

More Decks by Kazumi IWANAGA

Other Decks in Technology

Transcript

  1. 岩永かづみ / Kazumi IWANAGA • GitHub公認トレーナー • ZEN Architects 所属

    • Microsoft MVP for Azure • 得意な領域 • Infrastructure as Code • GitHub Actions による自動化 • 技術コミュニティ • Code Polaris / GitHub dockyard / Hack Everything. • @dz_ • @dzeyelid • @dzeyelid • dzeyelid
  2. GitHub Copilotの機能 機能 GA 説明 Code completion 2022年1月 Copilotによるコード補完。IDEで利用する。 Chat

    2024年1月 Copilotとコーディングに特化した会話ができる。エディタで表示 しているファイルなどをコンテキストに含められる。IDEで利用する。 Chat in GitHub.com 2024年2月 チャットをGitHub.comで利用でき、リポジトリやナレッジベースを コンテキストとして指定し会話できる。 Knowledge bases (ナレッジベース) 2024年2月 ドキュメント(.md、.mdx)を含むリポジトリのセットを作成し、 Copilotとの会話でコンテキストとして指定できる Pull request summaries 2024年2月 Copilotにより、プルリクエストのサマリを生成する。GitHub.com で利用する。 In the CLI 2024年3月 (※) ターミナルで自然言語を用いて質問できる。対象は、GitHub CLI(gh)、Gitコマンド、一般的なシェルコマンド。GitHub CLIの 拡張機能として提供される。 ※2024年3月21日にGeneral availableになるとメールで通知が届いていました
  3. GitHub Copilotの機能 機能 GA 説明 Code completion 2022年1月 Copilotによるコード補完。IDEで利用する。 Chat

    2024年1月 Copilotとコーディングに特化した会話ができる。エディタで表示 しているファイルなどをコンテキストに含められる。IDEで利用する。 Chat in GitHub.com 2024年2月 チャットをGitHub.comで利用でき、リポジトリやナレッジベースを コンテキストとして指定し会話できる。 Knowledge bases (ナレッジベース) 2024年2月 ドキュメント(.md、.mdx)を含むリポジトリのセットを作成し、 Copilotとの会話でコンテキストとして指定できる。 Pull request summaries 2024年2月 Copilotにより、プルリクエストのサマリを生成する。GitHub.com で利用する。 In the CLI 2024年3月 (※) ターミナルで自然言語を用いて質問できる。対象は、GitHub CLI(gh)、Gitコマンド、一般的なシェルコマンド。GitHub CLIの 拡張機能として提供される。 ※2024年3月21日にGeneral availableになるとメールで通知が届いていました GitHub Enterprise GitHub Enterprise GitHub Enterprise
  4. GitHub Copilotの利用形態 利用形態 説明 GitHub Copilot Individual 個人アカウントで有効化して利用する。 プロンプトと候補のデータの収集と利用の可否について、設定で変更できる。 GitHub

    Copilot Business OrganizationまたはEnterpriseで有効化して利用する。 プロンプトと候補のデータは収集されない。 GitHub Copilot Enterprise 2024年2月GA。 Copilot Businessの機能に加え、「Chat in GitHub.com」が利用できる。 ファインチューニングはadd-onになるそう。 プロンプトと候補のデータは収集されない。
  5. エディタから利用する • コード補完 • チャット • コーディング特化 • エディタ上で差分表示 •

    スラッシュコマンド / • コンテキスト変数 # • エージェント @ 2024年3月GA
  6. Markdownで注釈が書けるように • New Markdown extension: Alerts provide distinctive styling for

    significant content - The GitHub Blog • Markdownで以下のように記述すると、注釈のようなスタイルで表示 できるようになりました
  7. Rulesets(ルールセット) • Repository Rules are generally available - The GitHub

    Blog • Branch protection rulesの後継になるだろう • リポジトリ毎に設定できるし、Organizationで設定したルールセット を、配下のリポジトリに継承もできる • Evaluateステータスを利用すると、ルールは強制されないが適用し た場合の結果をInsightsで確認できる(Enterpriseのみ)
  8. Custom properties(カスタム プロパティ) • Repository Custom Properties GA and Ruleset

    Improvements - The GitHub Blog • Organizationで定義したプロパティをリポジトリに割り当てられる • プロパティの値は、任意のテキストか、選択肢 • リポジトリ一覧でフィルタに利用できる • ルールセットのリポジトリ指定に利用できる
  9. マージ キュー • Pull request merge queue is now generally

    available! - The GitHub Blog • プルリクエストをキューに入れてFIFOでマージできる • 実装するには、GitHub Actionsでmerge_groupトリガーを指定して ワークフローを作成する • プルリクエストのbaseブランチにマージ した一時的なブランチが展開される • ビルドやテストを行うことも可能 • Branch protection rulesまたは ルールセットと組み合わせて利用する
  10. GitHub Codespacesホストイメージ更新 • Codespaces host image upgrade - The GitHub

    Blog • インストールされているDockerエンジンとDocker Composeパッ ケージのメジャーバージョンの更新など
  11. アカウント、ログイン周りの改善 • マルチアカウントでログインできるように • GitHub.com、モバイルアプリ、GitHub CLI • Multi-account support on

    GitHub.com - The GitHub Blog • Log in with multiple GitHub accounts on GitHub Mobile - The GitHub Blog • Log in to multiple GitHub accounts with the CLI - The GitHub Blog • Passkey対応 • Passkeys are Generally Available - The GitHub Blog
  12. GitHub Enterprise関連 • Introducing GitHub Enterprise Importer - The GitHub

    Blog • [Public Beta] Bring Your Own Identity Provider to Enterprise Managed Users - The GitHub Blog
  13. GitHub-hosted largerランナー • GitHub-hosted larger runners for Actions are generally

    available - The GitHub Blog • GitHub Actions: macOS 14 (Sonoma) is now available - The GitHub Blog • macos-14-xlarge、macos-14-large • GitHub Actions and Larger Runners; Windows 11 Beta - The GitHub Blog
  14. GitHub-hostedランナー • M1 macOS • GitHub Actions: Introducing the new

    M1 macOS runner available to open source! - The GitHub Blog • GitHub Actions: macOS 14 (Sonoma) is now available - The GitHub Blog • Arm、GPU(private beta) • Accelerate your CI/CD with Arm-based hosted runners in GitHub Actions - The GitHub Blog • Run your ML workloads on GitHub Actions with GPU runners - The GitHub Blog
  15. Artifactsアクション v4 • GitHub Actions - Artifacts v4 is now

    Generally Available - The GitHub Blog • actions/upload-artifactとactions/download-artifactの v4がGA • 10倍のパフォーマンス改善と新機能 • workflowではなくjobをスコープの対象にするようになった • 並列実行からの保護 • 前バージョンと互換性なし
  16. 全般 • JavaScriptアクションが動作する環境がNode.js 20に • GitHub Actions; All Actions will

    run on Node20 instead of Node16 by default - The GitHub Blog • リポジトリでランナーの一覧が閲覧できるように • GitHub Actions - Repository Actions Runners List is now generally available - The GitHub Blog • Actions Fine Grained Permissions - The GitHub Blog • Azure private networking for GitHub-hosted runners - Public Beta - The GitHub Blog
  17. Dependabot • Version Updates • Grouped version updates for Dependabot

    are generally available - The GitHub Blog • Dependabot Version Updates Support devcontainers - The GitHub Blog • Security Updates • Dependabot Grouped Security Updates Public Beta - The GitHub Blog • Group Configuration Options for Dependabot Security Updates - Public Beta - The GitHub Blog
  18. Secret scanning • Push protection • Push protection is enabled

    for free users on GitHub - The GitHub Blog • Secret scanning and push protection are enabled by default on new public repositories - The GitHub Blog • Secret scanning expands detection to include non- provider patterns (beta) - The GitHub Blog • Secret scanning AI-generated custom patterns (public beta) - The GitHub Blog
  19. Code scanning(参考リンク) • Default setupの改良 • Code scanning default setup

    automatically includes all CodeQL supported languages - The GitHub Blog • Organization-level code scanning default setup for CodeQL is now generally available - The GitHub Blog • Code scanning now suggests AI-powered autofixes for CodeQL alerts in pull request (beta) - The GitHub Blog
  20. Securityタブ(参考リンク) • Security risk and coverage pages are now generally

    available and replace the enterprise-level overview page - The GitHub Blog • Security overview dashboard: Alert age trends, custom repository and severity filters, and date pickers - The GitHub Blog • Enablement trends for security products (public beta) - The GitHub Blog
  21. GitHubの最新情報はここから • GitHub Blog • GitHub Changelog • X(旧Twitter) •

    GitHub(本家) • GitHub Changelog • GitHub Japan • ドキュメントも頻繁に更新されているので、時々眺めると吉