Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Enable publishing updates to non-latest major.minor tags for GitHub action

オープン
#232 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
azure, github-actions
領域
ci-cd, devops, release

調査の方向性

まず現在の ci_main、ci_common、ci_branch ワークフローを追跡し、どの Azure DevOps JSON ファイルがバージョンを提供しているかを特定します。既存のバージョン、タグ、リリースのトリガーを、提案されている ci_release フローおよび release/XXX ブランチと比較します。最新ではない major.minor の GitHub action タグを、Azure DevOps のタスク公開を妨げずに更新できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

As identified in #223, there is currently a gap in the automated releases for this repo.

Versioning for the GitHub action uses tags in the repo. When someone references devcontainers/[email protected] the workflow runner will look for the vX.Y tag in the repo to fetch.
For the Azure DevOps task, the code is packaged as a VSIX file and submitted to the store. The version of the extension matches the version used in the GitHub release tag. In addition to the extension version, tasks within an extension have their own versions (and there can be multiple versions of a task in sepearate folders in the extension - see here).

So, for Azure DevOps tasks a breaking change can be handled by creating a new task version in a folder alongside the existing task. We can publish updates to either task version in a new extension published from main.

The capability that we want to enable is releasing versions of the GitHub action prior to the latest major.minor version (e.g. new versions of v0.2)

The current versioning process:

  • read version from AzDO json file (** which one?)
  • set outputs based on the major + minor from json file, and patch from build number
  • set patch from output for AzDO
  • set tags from outputs for GH

Proposed versioning process:

  • new JSON file with major/minor values. Allows for different values per-branch
  • read JSON file to set outputs
  • rename ci_main to ci_release
  • Add params to ci_common to control whether to publish GH and whether to publish AzDO
  • ci_release (prev. ci_main) sets publish GH to true, and publish AzDO to true when on release/XXX
  • ci_branch sets publish to false for both GH & AzDO
  • Update triggers for ci_release to include release/XXX branches
主要言語
TypeScript
スター
499
フォーク
101
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

devcontainers/ci のほかの issue

devcontainers/ci の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。