Skip to content

Commit b070aa3

Browse files
authored
Merge pull request github#18547 from github/repo-sync
repo sync
2 parents 74dddbf + f0fec90 commit b070aa3

File tree

32 files changed

+284
-179
lines changed

32 files changed

+284
-179
lines changed

translations/ja-JP/content/actions/learn-github-actions/contexts.md

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You can access contexts using the expression syntax. For more information, see "
4545
| `matrix` | `オブジェクト` | Contains the matrix properties defined in the workflow that apply to the current job. For more information, see [`matrix` context](#matrix-context). |
4646
| `needs` | `オブジェクト` | Contains the outputs of all jobs that are defined as a dependency of the current job. 詳しい情報については[`needs`コンテキスト](#needs-context)を参照してください。 |
4747
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-4757 %}
48-
| `inputs` | `object` | Contains the inputs of a reusable workflow. For more information, see [`inputs` context](#inputs-context). |{% endif %}
48+
| `inputs` | `object` | Contains the inputs of a reusable {% ifversion actions-unified-inputs %}or manually triggered {% endif %}workflow. For more information, see [`inputs` context](#inputs-context). |{% endif %}
4949

5050
As part of an expression, you can access context information using one of two syntaxes.
5151

@@ -699,33 +699,32 @@ jobs:
699699
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-4757 %}
700700
## `inputs` context
701701

702-
The `inputs` context contains input properties passed to a reusable workflow. The input names and types are defined in the [`workflow_call` event configuration](/actions/learn-github-actions/events-that-trigger-workflows#workflow-reuse-events) of a reusable workflow, and the input values are passed from [`jobs.<job_id>.with`](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idwith) in an external workflow that calls the reusable workflow.
702+
The `inputs` context contains input properties passed to a reusable workflow{% ifversion actions-unified-inputs %} or to a manually triggered workflow{% endif %}. {% ifversion actions-unified-inputs %}For reusable workflows, the{% else %}The{% endif %} input names and types are defined in the [`workflow_call` event configuration](/actions/learn-github-actions/events-that-trigger-workflows#workflow-reuse-events) of a reusable workflow, and the input values are passed from [`jobs.<job_id>.with`](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idwith) in an external workflow that calls the reusable workflow. {% ifversion actions-unified-inputs %}For manually triggered workflows, the inputs are defined in the [`workflow_dispatch` event configuration](/actions/learn-github-actions/events-that-trigger-workflows#workflow_dispatch) of a workflow.{% endif %}
703703

704-
There are no standard properties in the `inputs` context, only those which are defined in the reusable workflow file.
704+
There are no standard properties in the `inputs` context, only those which are defined in the workflow file.
705705

706706
{% data reusables.actions.reusable-workflows-ghes-beta %}
707707

708-
For more information, see "[Reusing workflows](/actions/learn-github-actions/reusing-workflows)".
709-
710-
| プロパティ名 | 種類 | 説明 |
711-
| --------------------- | --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
712-
| `inputs` | `オブジェクト` | This context is only available in a [reusable workflow](/actions/learn-github-actions/reusing-workflows). You can access this context from any job or step in a workflow. This object contains the properties listed below. |
713-
| `inputs.<name>` | `string` or `number` or `boolean` | Each input value passed from an external workflow. |
708+
| プロパティ名 | 種類 | 説明 |
709+
| --------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
710+
| `inputs` | `オブジェクト` | This context is only available in a [reusable workflow](/actions/learn-github-actions/reusing-workflows){% ifversion actions-unified-inputs %} or in a workflow triggered by the [`workflow_dispatch` event](/actions/learn-github-actions/events-that-trigger-workflows#workflow_dispatch){% endif %}. You can access this context from any job or step in a workflow. This object contains the properties listed below. |
711+
| `inputs.<name>` | `string` or `number` or `boolean` | Each input value passed from an external workflow. |
714712

715713
### Example contents of the `inputs` context
716714

717-
The following example contents of the `inputs` context is from a job in a reusable workflow that has defined the `build_id` and `deploy_target` inputs.
715+
The following example contents of the `inputs` context is from a workflow that has defined the `build_id`, `deploy_target`, and `perform_deploy` inputs.
718716

719717
```yaml
720718
{
721719
"build_id": 123456768,
722-
"deploy_target": "deployment_sys_1a"
720+
"deploy_target": "deployment_sys_1a",
721+
"perform_deploy": true
723722
}
724723
```
725724

726-
### Example usage of the `inputs` context
725+
### Example usage of the `inputs` context in a reusable workflow
727726

728-
This example reusable workflow uses the `inputs` context to get the values of the `build_id` and `deploy_target` inputs that were passed to the reusable workflow from the caller workflow.
727+
This example reusable workflow uses the `inputs` context to get the values of the `build_id`, `deploy_target`, and `perform_deploy` inputs that were passed to the reusable workflow from the caller workflow.
729728

730729
{% raw %}
731730
```yaml{:copy}
@@ -746,10 +745,42 @@ on:
746745
jobs:
747746
deploy:
748747
runs-on: ubuntu-latest
749-
if: ${{ inputs.perform_deploy == 'true' }}
748+
if: ${{ inputs.perform_deploy }}
749+
steps:
750+
- name: Deploy build to target
751+
run: deploy --build ${{ inputs.build_id }} --target ${{ inputs.deploy_target }}
752+
```
753+
{% endraw %}
754+
755+
{% ifversion actions-unified-inputs %}
756+
### Example usage of the `inputs` context in a manually triggered workflow
757+
758+
This example workflow triggered by a `workflow_dispatch` event uses the `inputs` context to get the values of the `build_id`, `deploy_target`, and `perform_deploy` inputs that were passed to the workflow.
759+
760+
{% raw %}
761+
```yaml{:copy}
762+
on:
763+
workflow_dispatch:
764+
inputs:
765+
build_id:
766+
required: true
767+
type: string
768+
deploy_target:
769+
required: true
770+
type: string
771+
perform_deploy:
772+
required: true
773+
type: boolean
774+
775+
jobs:
776+
deploy:
777+
runs-on: ubuntu-latest
778+
if: ${{ inputs.perform_deploy }}
750779
steps:
751780
- name: Deploy build to target
752781
run: deploy --build ${{ inputs.build_id }} --target ${{ inputs.deploy_target }}
753782
```
754783
{% endraw %}
755784
{% endif %}
785+
786+
{% endif %}

translations/ja-JP/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ versions:
1717

1818
## About re-running workflows and jobs
1919

20-
Re-running a workflow{% ifversion re-run-jobs %} or jobs in a workflow{% endif %} uses the same `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (Git ref) of the original event that triggered the workflow run. You can re-run a workflow{% ifversion re-run-jobs %} or jobs in a workflow{% endif %} for up to 30 days after the initial run.{% ifversion debug-reruns %} When you re-run a workflow or jobs in a workflow, you can enable debug logging for the re-run. This will enable runner diagnostic logging and step debug logging for the re-run. For more information about debug logging, see "[Enabling debug logging](/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging)."{% endif %}
20+
Re-running a workflow{% ifversion re-run-jobs %} or jobs in a workflow{% endif %} uses the same `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (Git ref) of the original event that triggered the workflow run. You can re-run a workflow{% ifversion re-run-jobs %} or jobs in a workflow{% endif %} for up to 30 days after the initial run.{% ifversion re-run-jobs %} You cannot re-run jobs in a workflow once its logs have passed their retention limits. For more information, see "[Usage limits, billing, and administration](/actions/learn-github-actions/usage-limits-billing-and-administration#artifact-and-log-retention-policy)."{% endif %}{% ifversion debug-reruns %} When you re-run a workflow or jobs in a workflow, you can enable debug logging for the re-run. This will enable runner diagnostic logging and step debug logging for the re-run. For more information about debug logging, see "[Enabling debug logging](/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging)."{% endif %}
2121

2222
## Re-running all the jobs in a workflow
2323

translations/ja-JP/content/actions/managing-workflow-runs/removing-workflow-artifacts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ shortTitle: Remove workflow artifacts
1616

1717
{% warning %}
1818

19-
**Warning:** Once you delete an artifact, it can not be restored.
19+
**Warning:** Once you delete an artifact, it cannot be restored.
2020

2121
{% endwarning %}
2222

translations/ja-JP/content/actions/using-workflows/events-that-trigger-workflows.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,12 +1250,13 @@ on: workflow_dispatch
12501250

12511251
#### Providing inputs
12521252

1253-
カスタム定義の入力プロパティ、デフォルトの入力値、イベントに必要な入力をワークフローで直接設定できます。 When you trigger the event, you can provide the `ref` and any `inputs`. ワークフローが実行されると、 `github.event.inputs` コンテキスト内の入力値にアクセスできます。 詳細については、「[コンテキスト](/actions/learn-github-actions/contexts)」を参照してください。
1253+
カスタム定義の入力プロパティ、デフォルトの入力値、イベントに必要な入力をワークフローで直接設定できます。 When you trigger the event, you can provide the `ref` and any `inputs`. When the workflow runs, you can access the input values in the {% ifversion actions-unified-inputs %}`inputs`{% else %}`github.event.inputs`{% endif %} context. 詳細については、「[コンテキスト](/actions/learn-github-actions/contexts)」を参照してください。
1254+
1255+
{% data reusables.actions.inputs-vs-github-event-inputs %}
12541256

12551257
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5511 %}
1256-
This example defines inputs called `logLevel`, `tags`, and `environment`. You pass values for these inputs to the workflow when you run it. This workflow then prints the values to the log, using the `github.event.inputs.logLevel`, `github.event.inputs.tags`, and `github.event.inputs.environment` context properties.
1258+
This example defines inputs called `logLevel`, `tags`, and `environment`. You pass values for these inputs to the workflow when you run it. This workflow then prints the values to the log, using the {% ifversion actions-unified-inputs %}`inputs.logLevel`, `inputs.tags`, and `inputs.environment`{% else %}`github.event.inputs.logLevel`, `github.event.inputs.tags`, and `github.event.inputs.environment`{% endif %} context properties.
12571259

1258-
{% raw %}
12591260
```yaml
12601261
on:
12611262
workflow_dispatch:
@@ -1287,11 +1288,10 @@ jobs:
12871288
echo "Tags: $TAGS"
12881289
echo "Environment: $ENVIRONMENT"
12891290
env:
1290-
LEVEL: ${{ github.event.inputs.logLevel }}
1291-
TAGS: ${{ github.event.inputs.tags }}
1292-
ENVIRONMENT: ${{ github.event.inputs.environment }}
1291+
LEVEL: {% ifversion actions-unified-inputs %}{% raw %}${{ inputs.logLevel }}{% endraw %}{% else %}{% raw %}${{ github.event.inputs.logLevel }}{% endraw %}{% endif %}
1292+
TAGS: {% ifversion actions-unified-inputs %}{% raw %}${{ inputs.tags }}{% endraw %}{% else %}{% raw %}${{ github.event.inputs.tags }}{% endraw %}{% endif %}
1293+
ENVIRONMENT: {% ifversion actions-unified-inputs %}{% raw %}${{ inputs.environment }}{% endraw %}{% else %}{% raw %}${{ github.event.inputs.environment }}{% endraw %}{% endif %}
12931294
```
1294-
{% endraw %}
12951295

12961296
If you run this workflow from a browser you must enter values for the required inputs manually before the workflow will run.
12971297

@@ -1306,7 +1306,7 @@ gh workflow run run-tests.yml -f logLevel=warning -f tags=false -f environment=s
13061306
For more information, see the {% data variables.product.prodname_cli %} information in "[Manually running a workflow](/actions/managing-workflow-runs/manually-running-a-workflow)."
13071307

13081308
{% else %}
1309-
この例では、 `name``home`の入力を定義し、`github.event.inputs.name`および`github.event.inputs.home`コンテキストを使用してそれらを出力します。 `home`が提供されなければ、デフォルト値の'The Octoverse'が出力されます。
1309+
This example defines the `name` and `home` inputs and prints them using the {% ifversion actions-unified-inputs %}`inputs.name` and `inputs.home`{% else %}`github.event.inputs.name` and `github.event.inputs.home`{% endif %} contexts. `home`が提供されなければ、デフォルト値の'The Octoverse'が出力されます。
13101310

13111311
```yaml
13121312
name: Manually triggered workflow
@@ -1330,8 +1330,8 @@ jobs:
13301330
echo Hello $NAME!
13311331
echo -in $HOME
13321332
env:
1333-
NAME: {% raw %}${{ github.event.inputs.name }}{% endraw %}
1334-
HOME: {% raw %}${{ github.event.inputs.home }}{% endraw %}
1333+
NAME: {% ifversion actions-unified-inputs %}{% raw %}${{ inputs.name }}{% endraw %}{% else %}{% raw %}${{ github.event.inputs.name }}{% endraw %}{% endif %}
1334+
HOME: {% ifversion actions-unified-inputs %}{% raw %}${{ github.event.inputs.home }}{% endraw %}{% else %}{% raw %}${{ github.event.inputs.home }}{% endraw %}{% endif %}
13351335
```
13361336
{% endif %}
13371337

@@ -1402,7 +1402,7 @@ jobs:
14021402

14031403
#### Limiting your workflow to run based on branches
14041404

1405-
You can use the `branches` or `branches-ignore` filter to specify what branches the triggering workflow must run on in order to trigger your workflow. 詳しい情報については「[GitHub Actionsのワークフロー構文](/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_runbranchesbranches-ignore)」を参照してください。 For example, a workflow with the following trigger will only run when the workflow named `Build` runs on a branch named `canary`.
1405+
You can use the `branches` or `branches-ignore` filter to specify what branches the triggering workflow must run on in order to trigger your workflow. 詳しい情報については「[GitHub Actionsのワークフロー構文](/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_runbranchesbranches-ignore)」を参照してください。 For example, a workflow with the following trigger will only run when the workflow named `Build` runs on a branch named `canary`.
14061406

14071407
```yaml
14081408
on:

translations/ja-JP/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,10 @@ updates:
280280
prefix-development: "pip dev"
281281
include: "scope"
282282
```
283+
If you use the same configuration as in the example above, bumping the `requests` library in the `pip` development dependency group will generate a commit message of:
284+
285+
`pip dev: bump requests from 1.0.0 to 1.0.1`
286+
283287
### `ignore`
284288

285289
{% data reusables.dependabot.default-dependencies-allow-ignore %}

translations/ja-JP/content/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ Pagesの設定でカスタムドメインを設定もしくは変更した場合
6666
|:----------:|:----------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------:|
6767
| CSS | `<link rel="stylesheet" href="http://example.com/css/main.css">` | `<link rel="stylesheet" href="https://example.com/css/main.css">` |
6868
| JavaScript | `<script type="text/javascript" src="http://example.com/js/main.js"></script>` | `<script type="text/javascript" src="https://example.com/js/main.js"></script>` |
69-
| 画像 | `<A HREF="http://www.somesite.com"><IMG SRC="http://www.example.com/logo.jpg" alt="Logo"></a>` | `<A HREF="https://www.somesite.com"><IMG SRC="https://www.example.com/logo.jpg" alt="Logo"></a>` |
69+
| 画像 | `<a href="http://www.somesite.com"><img src="http://www.example.com/logo.jpg" alt="Logo"></a>` | `<a href="https://www.somesite.com"><img src="https://www.example.com/logo.jpg" alt="Logo"></a>` |

translations/ja-JP/content/rest/guides/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ children:
2525
- /getting-started-with-the-checks-api
2626
---
2727

28-
ドキュメンテーションのこのセクションは、実際の{% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} APIアプリケーションを立ち上げられるようにすることを意図したものです。 認証から結果の操作、結果を他のアプリケーションと組み合わせる方法に至るまで、必要な情報をすべて網羅しています。 ここに挙げる各チュートリアルにはプロジェクトがあり、各プロジェクトはパブリックの[platform-samples](https://github.com/github/platform-samples)に保存・文書化されます。 ![Octocat](/assets/images/electrocat.png)
28+
ドキュメンテーションのこのセクションは、実際の{% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} APIアプリケーションを立ち上げられるようにすることを意図したものです。 We'll go over everything you need to know, from authentication to results manipulation to integrating results with other apps. Every tutorial will include a project, and each project will be saved and documented in our public [platform-samples](https://github.com/github/platform-samples) repository. ![Octocat](/assets/images/electrocat.png)

translations/ja-JP/data/features/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ versions:
2121
2222
### Liquidの条件演算子
2323
24-
コンテンツファイルで`{% if meow %} ... {% endif %}`が使えるようになりました! これは`if`タグであり、新しい`ifversion`タグではないことに注意してください。
24+
コンテンツファイルで`{% ifversion meow %} ... {% endif %}`が使えるようになりました!
2525

2626
### Frontmatter
2727

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
#Issue 6921
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
ghes: '>=3.6'
7+
ghae: 'issue-6921'

0 commit comments

Comments
 (0)