Skip to content

Commit aa491b7

Browse files
committed
fix ordering of types in yml file
1 parent afbf453 commit aa491b7

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/accessibility-alt-text-bot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ on:
1414
- edited
1515
issues:
1616
types:
17-
- opened
1817
- edited
18+
- opened
1919
pull_request:
2020
types:
21-
- opened
2221
- edited
22+
- opened
2323

2424
permissions:
2525
issues: write

src/steps/writing/creation/dotGitHub/createWorkflows.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ describe("createWorkflows", () => {
5757
- edited
5858
issues:
5959
types:
60-
- opened
6160
- edited
61+
- opened
6262
pull_request:
6363
types:
64-
- opened
6564
- edited
65+
- opened
6666
6767
permissions:
6868
issues: write
@@ -384,12 +384,12 @@ describe("createWorkflows", () => {
384384
- edited
385385
issues:
386386
types:
387-
- opened
388387
- edited
388+
- opened
389389
pull_request:
390390
types:
391-
- opened
392391
- edited
392+
- opened
393393
394394
permissions:
395395
issues: write

src/steps/writing/creation/dotGitHub/createWorkflows.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ export function createWorkflows(options: Options) {
9696
types: ["created", "edited"],
9797
},
9898
issues: {
99-
types: ["opened", "edited"],
99+
types: ["edited", "opened"],
100100
},
101101
pull_request: {
102-
types: ["opened", "edited"],
102+
types: ["edited", "opened"],
103103
},
104104
},
105105
permissions: {

0 commit comments

Comments
 (0)