Skip to content

Commit d12e4cc

Browse files
shimotmkshimotmkjohnbillion
authored
Format .github workflows .yml file (#70219)
Co-authored-by: shimotmk <[email protected]> Co-authored-by: johnbillion <[email protected]>
1 parent 8e79e3a commit d12e4cc

18 files changed

+40
-40
lines changed

.github/actionlint.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
# Path-specific configurations.
55
paths:
6-
.github/workflows/**/*.{yml,yaml}:
7-
ignore:
8-
# [SC2129](https://www.shellcheck.net/wiki/SC2129) is ignored because it is a stylistic issue.
9-
- 'shellcheck reported issue in this script: SC2129:.+'
10-
.github/workflows/end2end-test.yml:
11-
ignore:
12-
# This file gets created in the step prior.
13-
- 'file "build/index.js" does not exist.+'
6+
.github/workflows/**/*.{yml,yaml}:
7+
ignore:
8+
# [SC2129](https://www.shellcheck.net/wiki/SC2129) is ignored because it is a stylistic issue.
9+
- 'shellcheck reported issue in this script: SC2129:.+'
10+
.github/workflows/end2end-test.yml:
11+
ignore:
12+
# This file gets created in the step prior.
13+
- 'file "build/index.js" does not exist.+'

.github/workflows/bundle-size.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
name: Check
4141
runs-on: ubuntu-latest
4242
permissions:
43-
contents: read
44-
pull-requests: write
43+
contents: read
44+
pull-requests: write
4545

4646
steps:
4747
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/check-backport-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
name: Check for a Core backport changelog entry
2929
runs-on: ubuntu-latest
3030
permissions:
31-
contents: read
31+
contents: read
3232
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Core Sync Required') && !contains(github.event.pull_request.labels.*.name, 'Backport from WordPress Core') }}
3333
steps:
3434
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/cherry-pick-wp-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
cherry-pick:
2525
runs-on: ubuntu-latest
2626
permissions:
27-
contents: write
28-
issues: write
29-
pull-requests: read
27+
contents: write
28+
issues: write
29+
pull-requests: read
3030
# When in the context of a PR, ensure the PR is merged.
3131
if: github.event.pull_request == null || github.event.pull_request.merged == true
3232
steps:

.github/workflows/create-block.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Checks w/Node.js ${{ matrix.node }} on ${{ matrix.os }}
2222
runs-on: ${{ matrix.os }}
2323
permissions:
24-
contents: read
24+
contents: read
2525
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
2626
strategy:
2727
fail-fast: false

.github/workflows/end2end-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
name: Playwright - ${{ matrix.part }}
2525
runs-on: ubuntu-latest
2626
permissions:
27-
contents: read
27+
contents: read
2828
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
2929
strategy:
3030
fail-fast: false
@@ -110,9 +110,9 @@ jobs:
110110
if: ${{ needs.merge-artifacts.outputs.has-flaky-test-report == 'true' }}
111111
runs-on: ubuntu-latest
112112
permissions:
113-
contents: read
114-
issues: write
115-
pull-requests: write
113+
contents: read
114+
issues: write
115+
pull-requests: write
116116
steps:
117117
# Checkout defaults to using the branch which triggered the event, which
118118
# isn't necessarily `trunk` (e.g. in the case of a merge).

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: 'Validation'
1111
runs-on: ubuntu-latest
1212
permissions:
13-
contents: read
13+
contents: read
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/pull-request-automation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
pull-request-automation:
1313
runs-on: ubuntu-latest
1414
permissions:
15-
contents: read
16-
issues: write
17-
pull-requests: write
15+
contents: read
16+
issues: write
17+
pull-requests: write
1818
if: ${{ github.repository == 'WordPress/gutenberg' }}
1919

2020
steps:

.github/workflows/rnmobile-android-runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
test:
2121
runs-on: macos-13
2222
permissions:
23-
contents: read
23+
contents: read
2424
if: false
2525
#if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
2626
strategy:

.github/workflows/rnmobile-ios-runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
test:
2121
runs-on: macos-13
2222
permissions:
23-
contents: read
23+
contents: read
2424
if: false
2525
#if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
2626
strategy:

0 commit comments

Comments
 (0)