Clarify case-(in)sensitivity for `matrix.<keys>`

オープン 初心者向け
#27,200 コメント 16 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
github-actions
領域
documentation

調査の方向性

Issue でリンクされている workflow 構文の記事と matrix コンテキストのセクションから始め、matrix のキーと値がどのように説明されているかに焦点を当ててください。周辺のドキュメントで大文字と小文字の区別に関する動作を確認し、その後、影響を受ける記事に明確な記述を追加して、文言が既存の大文字と小文字の区別に関する注記と一貫していることを確認してください。

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

説明

actions content never-stale waiting for review
Code of Conduct
What article on docs.github.com is affected?

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
https://docs.github.com/en/actions/learn-github-actions/contexts#matrix-context

What part(s) of the article would you like to see updated?

Add an indication whether or not matrix elements are case sensitive.

Additional information

Some sections indicate if items are case sensitive / case insensitive.

Developers of one project w/ which I have some affiliation were asking whether matrix.<key> would be case sensitive.

Here's a subset of the workflow they had:

jobs:
  linux:
    strategy:
      fail-fast: false
      matrix:
        arch:
          - amd64
        include:
          - arch: amd64
            CC: x86_64-linux-gnu
          - arch: arm64
            CC: aarch64-linux-gnu
    runs-on: ubuntu-22.04
    env:
      AR: ${{ matrix.CC }}-ar
      CHOST: ${{ matrix.cc }}
      CC: ${{ matrix.cc }}-gcc
      CPP: ${{ matrix.cc }}-cpp
      CXX: ${{ matrix.cc }}-g++
主要言語
TypeScript
スター
20.9k
フォーク
68.8k
平均マージ
15時間 4分
マージ済み PR(30日)
103

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

github/docs のほかの issue

github/docs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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