Skip to content

Commit

Permalink
Merge pull request #17006 from github/repo-sync
Browse files Browse the repository at this point in the history
repo sync
  • Loading branch information
Octomerger authored Apr 11, 2022
2 parents 3f0a286 + 7dd61f0 commit 1655a40
Show file tree
Hide file tree
Showing 73 changed files with 476 additions and 321 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@types/js-cookie": "^3.0.1",
"@types/lodash": "^4.14.178",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-dom": "^18.0.0",
"@types/react-syntax-highlighter": "^13.5.2",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "5.16.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ Organizations that use {% data variables.product.prodname_ghe_cloud %} can confi

{% data reusables.actions.permissions-statement-environment %}

{% ifversion fpt or ghec %}
{% note %}

**Note:** To create an environment in a private repository, your organization must use {% data variables.product.prodname_ghe_cloud %}. {% data reusables.enterprise.link-to-ghec-trial %}

{% endnote %}
{% endif %}

{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
{% data reusables.actions.sidebar-environment %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ The {% data variables.product.prodname_actions %} service will then automaticall

By default, self-hosted runners will automatically perform a software update whenever a new version of the runner software is available. If you use ephemeral runners in containers then this can lead to repeated software updates when a new runner version is released. Turning off automatic updates allows you to update the runner version on the container image directly on your own schedule.

If you want to turn off automatic software updates and install software updates yourself, you can specify the `--disableupdate` parameter when starting the runner. 例:
To turn off automatic software updates and install software updates yourself, specify the `--disableupdate` flag when registering your runner using `config.sh`. 例:

```shell
./run.sh --disableupdate
./config.sh --url <em>https://github.com/octo-org</em> --token <em>example-token</em> --disableupdate
```

If you disable automatic updates, you must still update your runner version regularly. New functionality in {% data variables.product.prodname_actions %} requires changes in both the {% data variables.product.prodname_actions %} service _and_ the runner software. The runner may not be able to correctly process jobs that take advantage of new features in {% data variables.product.prodname_actions %} without a software update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ miniTocMaxHeadingLevel: 3
- **シークレットへのアクセスのレビューを必須とすることを検討する**
- 必須のレビュー担当者を使って環境のシークレットを保護できます。 レビュー担当者によって許可されるまで、ワークフローのジョブは環境のシークレットにアクセスできません。 For more information about storing secrets in environments or requiring reviews for environments, see "[Encrypted secrets](/actions/reference/encrypted-secrets)" and "[Using environments for deployment](/actions/deployment/using-environments-for-deployment)."

{% warning %}

**Warning**: Any user with write access to your repository has read access to all secrets configured in your repository. Therefore, you should ensure that the credentials being used within workflows have the least privileges required.

{% endwarning %}

## Using `CODEOWNERS` to monitor changes

You can use the `CODEOWNERS` feature to control how changes are made to your workflow files. For example, if all your workflow files are stored in `.github/workflows`, you can add this directory to the code owners list, so that any proposed changes to these files will first require approval from a designated reviewer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,26 @@ topics:

`services`キーワードを使って、ワークフロー内のジョブの一部であるサービスコンテナを作成できます。 詳しい情報については[`jobs.<job_id>.services`](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idservices)を参照してください。

以下の例は、`container-job`というジョブの中に`redis`というサービスを作成します。 この例でのDockerホストは`node:10.18-jessie`コンテナです。
以下の例は、`container-job`というジョブの中に`redis`というサービスを作成します。 The Docker host in this example is the `node:16-bullseye` container.

{% raw %}
```yaml{:copy}
name: Redis container example
on: push
jobs:
# コンテナジョブのラベル
# Label of the container job
container-job:
# コンテナはLinuxベースのオペレーティングシステム内で実行する
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# `container-job`が実行されるDocker Hubイメージ
container: node:10.18-jessie
# Docker Hub image that `container-job` executes in
container: node:16-bullseye
# `container-job`と実行されるサービスコンテナ
# Service containers to run with `container-job`
services:
# サービスコンテナへのアクセスに使われるラベル
# Label used to access the service container
redis:
# Docker Hubのイメージ
# Docker Hub image
image: redis
```
{% endraw %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,16 @@ Multiple workflows within a repository share cache entries. A cache created for
~/.gradle/wrapper
```
- `cache` アクションの `v1` では、単一のパスのみがサポートされ、かつそれがディレクトリである必要があります。 単一のファイルをキャッシュすることはできません。
- `restore-keys`: **オプション** `key`に対するキャッシュヒットがなかった場合にキャッシュを見つけるために使われる代理キーの順序付きリスト。
- `restore-keys`: **Optional** A string containing alternative restore keys, with each restore key placed on a new line. If no cache hit occurred for `key`, these restore keys are used sequentially in the order provided to find and restore a cache. 例:
{% raw %}
```yaml
restore-keys: |
npm-foobar-${{ hashFiles('package-lock.json') }}
npm-foobar-
npm-
```
{% endraw %}

### `cache`アクションの出力パラメータ

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ on:
jobs:
if_merged:
if: github.event.pull_request_target.merged == true
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Allows you to find the universally unique identifier (UUID) of your node in `clu
```

{% ifversion ghes %}
Allows you to exempt a list of users from API rate limits. A hard limit of 120,000 requests will still apply to these users. For more information, see "[Resources in the REST API](/rest/overview/resources-in-the-rest-api#rate-limiting)."
Allows you to exempt a list of users from REST API rate limits. A hard limit of 120,000 requests will still apply to these users. For more information, see "[Resources in the REST API](/rest/overview/resources-in-the-rest-api#rate-limiting)."

``` shell
$ ghe-config app.github.rate-limiting-exempt-users "<em>hubot</em> <em>github-actions</em>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ redirect_from:
- /articles/viewing-the-audit-logs-for-organizations-in-your-enterprise-account
- /github/setting-up-and-managing-your-enterprise-account/viewing-the-audit-logs-for-organizations-in-your-enterprise-account
- /github/setting-up-and-managing-your-enterprise/viewing-the-audit-logs-for-organizations-in-your-enterprise-account
- /admin/user-management/managing-organizations-in-your-enterprise/viewing-the-audit-logs-for-organizations-in-your-enterprise
versions:
ghec: '*'
ghes: '*'
Expand Down
Loading

0 comments on commit 1655a40

Please sign in to comment.