Skip to content

Commit a7b01ca

Browse files
authored
Merge branch 'main' into patch-1
2 parents 3bf760e + 0b80f53 commit a7b01ca

36 files changed

Lines changed: 1593 additions & 2590 deletions

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
web: NODE_ENV=production node server.js
22

3-
release: NODE_ENV=production node script/purge-redis-pages.js
3+
release: NODE_ENV=production script/release-heroku
Lines changed: 1 addition & 1 deletion
Loading

assets/images/octicons/search.svg

Lines changed: 1 addition & 1 deletion
Loading

assets/images/octicons/x.svg

Lines changed: 1 addition & 1 deletion
Loading

content/actions/reference/workflow-syntax-for-github-actions.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -899,18 +899,18 @@ The order that you define a `matrix` matters. The first option you define will b
899899

900900
#### Example running with more than one version of Node.js
901901

902-
You can specify a matrix by supplying an array for the configuration options. For example, if the runner supports Node.js versions 6, 8, and 10, you could specify an array of those versions in the `matrix`.
902+
You can specify a matrix by supplying an array for the configuration options. For example, if the runner supports Node.js versions 10, 12, and 14, you could specify an array of those versions in the `matrix`.
903903

904904
This example creates a matrix of three jobs by setting the `node` key to an array of three Node.js versions. To use the matrix, the example sets the `matrix.node` context property as the value of the `setup-node` action's input parameter `node-version`. As a result, three jobs will run, each using a different Node.js version.
905905

906906
{% raw %}
907907
```yaml
908908
strategy:
909909
matrix:
910-
node: [6, 8, 10]
910+
node: [10, 12, 14]
911911
steps:
912912
# Configures the node version used on GitHub-hosted runners
913-
- uses: actions/setup-node@v1
913+
- uses: actions/setup-node@v2
914914
with:
915915
# The Node.js version to configure
916916
node-version: ${{ matrix.node }}
@@ -934,9 +934,9 @@ runs-on: ${{ matrix.os }}
934934
strategy:
935935
matrix:
936936
os: [ubuntu-16.04, ubuntu-18.04]
937-
node: [6, 8, 10]
937+
node: [10, 12, 14]
938938
steps:
939-
- uses: actions/setup-node@v1
939+
- uses: actions/setup-node@v2
940940
with:
941941
node-version: ${{ matrix.node }}
942942
```
@@ -948,37 +948,37 @@ steps:
948948

949949
#### Example including additional values into combinations
950950

951-
You can add additional configuration options to a build matrix job that already exists. For example, if you want to use a specific version of `npm` when the job that uses `windows-latest` and version 4 of `node` runs, you can use `include` to specify that additional option.
951+
You can add additional configuration options to a build matrix job that already exists. For example, if you want to use a specific version of `npm` when the job that uses `windows-latest` and version 8 of `node` runs, you can use `include` to specify that additional option.
952952

953953
{% raw %}
954954
```yaml
955955
runs-on: ${{ matrix.os }}
956956
strategy:
957957
matrix:
958958
os: [macos-latest, windows-latest, ubuntu-18.04]
959-
node: [4, 6, 8, 10]
959+
node: [8, 10, 12, 14]
960960
include:
961-
# includes a new variable of npm with a value of 2
961+
# includes a new variable of npm with a value of 6
962962
# for the matrix leg matching the os and version
963963
- os: windows-latest
964-
node: 4
965-
npm: 2
964+
node: 8
965+
npm: 6
966966
```
967967
{% endraw %}
968968

969969
#### Example including new combinations
970970

971-
You can use `include` to add new jobs to a build matrix. Any unmatched include configurations are added to the matrix. For example, if you want to use `node` version 12 to build on multiple operating systems, but wanted one extra experimental job using node version 13 on Ubuntu, you can use `include` to specify that additional job.
971+
You can use `include` to add new jobs to a build matrix. Any unmatched include configurations are added to the matrix. For example, if you want to use `node` version 14 to build on multiple operating systems, but wanted one extra experimental job using node version 15 on Ubuntu, you can use `include` to specify that additional job.
972972

973973
{% raw %}
974974
```yaml
975975
runs-on: ${{ matrix.os }}
976976
strategy:
977977
matrix:
978-
node: [12]
978+
node: [14]
979979
os: [macos-latest, windows-latest, ubuntu-18.04]
980980
include:
981-
- node: 13
981+
- node: 15
982982
os: ubuntu-18.04
983983
experimental: true
984984
```
@@ -994,11 +994,11 @@ runs-on: ${{ matrix.os }}
994994
strategy:
995995
matrix:
996996
os: [macos-latest, windows-latest, ubuntu-18.04]
997-
node: [4, 6, 8, 10]
997+
node: [8, 10, 12, 14]
998998
exclude:
999-
# excludes node 4 on macOS
999+
# excludes node 8 on macOS
10001000
- os: macos-latest
1001-
node: 4
1001+
node: 8
10021002
```
10031003
{% endraw %}
10041004

@@ -1033,7 +1033,7 @@ Prevents a workflow run from failing when a job fails. Set to `true` to allow a
10331033

10341034
#### Example preventing a specific failing matrix job from failing a workflow run
10351035

1036-
You can allow specific jobs in a job matrix to fail without failing the workflow run. For example, if you wanted to only allow an experimental job with `node` set to `13` to fail without failing the workflow run.
1036+
You can allow specific jobs in a job matrix to fail without failing the workflow run. For example, if you wanted to only allow an experimental job with `node` set to `15` to fail without failing the workflow run.
10371037

10381038
{% raw %}
10391039
```yaml
@@ -1042,11 +1042,11 @@ continue-on-error: ${{ matrix.experimental }}
10421042
strategy:
10431043
fail-fast: false
10441044
matrix:
1045-
node: [11, 12]
1045+
node: [13, 14]
10461046
os: [macos-latest, ubuntu-18.04]
10471047
experimental: [false]
10481048
include:
1049-
- node: 13
1049+
- node: 15
10501050
os: ubuntu-18.04
10511051
experimental: true
10521052
```
@@ -1064,7 +1064,7 @@ If you do not set a `container`, all steps will run directly on the host specifi
10641064
jobs:
10651065
my_job:
10661066
container:
1067-
image: node:10.16-jessie
1067+
image: node:14.16
10681068
env:
10691069
NODE_ENV: development
10701070
ports:
@@ -1079,7 +1079,7 @@ When you only specify a container image, you can omit the `image` keyword.
10791079
```yaml
10801080
jobs:
10811081
my_job:
1082-
container: node:10.16-jessie
1082+
container: node:14.16
10831083
```
10841084

10851085
### `jobs.<job_id>.container.image`

content/code-security/supply-chain-security/configuration-options-for-dependency-updates.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,19 @@ registries:
767767
```
768768
{% endraw %}
769769

770+
The `docker-registry` type can also be used to pull from Amazon ECR using static AWS credentials.
771+
772+
{% raw %}
773+
```yaml
774+
registries:
775+
ecr-docker:
776+
type: docker-registry
777+
url: https://1234567890.dkr.ecr.us-east-1.amazonaws.com
778+
username: ${{secrets.ECR_AWS_ACCESS_KEY_ID}}
779+
password: ${{secrets.ECR_AWS_SECRET_ACCESS_KEY}}
780+
```
781+
{% endraw %}
782+
770783
#### `git`
771784

772785
The `git` type supports username and password.
@@ -907,4 +920,4 @@ registries:
907920
url: https://rubygems.pkg.github.com/octocat/github_api
908921
token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}}
909922
```
910-
{% endraw %}
923+
{% endraw %}

content/github/administering-a-repository/renaming-a-branch.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ From the local clone of the repository on a computer, run the following commands
3838
$ git branch -m <em>OLD-BRANCH-NAME</em> <em>NEW-BRANCH-NAME</em>
3939
$ git fetch origin
4040
$ git branch -u origin/<em>NEW-BRANCH-NAME</em> <em>NEW-BRANCH-NAME</em>
41+
$ git remote set-head origin -a
42+
```
43+
44+
Optionally, run the following command to remove tracking references to the old branch name.
45+
```
46+
$ git remote prune origin
4147
```

content/github/authenticating-to-github/reviewing-your-security-log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ An overview of some of the most common actions that are recorded as events in th
186186

187187
| Action | Description
188188
|------------------|-------------------
189+
| `custom_amount_settings_change` | Triggered when you enable or disable custom amounts, or when you change the suggested custom amount (see "[Managing your sponsorship tiers](/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-tiers)")
189190
| `repo_funding_links_file_action` | Triggered when you change the FUNDING file in your repository (see "[Displaying a sponsor button in your repository](/articles/displaying-a-sponsor-button-in-your-repository)")
190191
| `sponsor_sponsorship_cancel` | Triggered when you cancel a sponsorship (see "[Downgrading a sponsorship](/articles/downgrading-a-sponsorship)")
191192
| `sponsor_sponsorship_create` | Triggered when you sponsor an account (see "[Sponsoring an open source contributor](/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor)")
@@ -265,4 +266,3 @@ An overview of some of the most common actions that are recorded as events in th
265266
|--------------------|---------------------
266267
| `update` | Triggered when you set or change the status on your profile. For more information, see "[Setting a status](/articles/personalizing-your-profile/#setting-a-status)."
267268
| `destroy` | Triggered when you clear the status on your profile.
268-

content/organizations/keeping-your-organization-secure/reviewing-the-audit-log-for-your-organization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ For more information, see "[Managing the publication of {% data variables.produc
593593

594594
| Action | Description
595595
|------------------|-------------------
596+
| `custom_amount_settings_change` | Triggered when you enable or disable custom amounts, or when you change the suggested custom amount (see "[Managing your sponsorship tiers](/github/supporting-the-open-source-community-with-github-sponsors/managing-your-sponsorship-tiers)")
596597
| `repo_funding_links_file_action` | Triggered when you change the FUNDING file in your repository (see "[Displaying a sponsor button in your repository](/articles/displaying-a-sponsor-button-in-your-repository)")
597598
| `sponsor_sponsorship_cancel` | Triggered when you cancel a sponsorship (see "[Downgrading a sponsorship](/articles/downgrading-a-sponsorship)")
598599
| `sponsor_sponsorship_create` | Triggered when you sponsor an account (see "[Sponsoring an open source contributor](/github/supporting-the-open-source-community-with-github-sponsors/sponsoring-an-open-source-contributor)")

content/organizations/managing-peoples-access-to-your-organization-with-roles/maintaining-ownership-continuity-for-your-organization.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ topics:
2323

2424
Organization owners have full administrative access to the organization. {% data reusables.organizations.new-org-permissions-more-info %}
2525

26+
{% note %}
27+
28+
**Note**: As an organization owner, you can change the role of other organization members and owners. You can't change your own role.
29+
30+
{% endnote %}
31+
2632
### Appointing an organization owner
2733

2834
{% data reusables.profile.access_profile %}

0 commit comments

Comments
 (0)