Skip to content

Commit 30b289d

Browse files
committed
chore: remove unnecessary if in a11y-alt-bot
1 parent d43b967 commit 30b289d

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Diff for: .github/workflows/accessibility-alt-text-bot.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ jobs:
22
accessibility_alt_text_bot:
33
runs-on: ubuntu-latest
44
steps:
5-
- if: ${{ github.event.issue || github.event.pull_request }}
6-
uses: github/[email protected]
5+
- uses: github/[email protected]
76

87
name: Accessibility Alt Text Bot
98

Diff for: src/steps/writing/creation/dotGitHub/createWorkflows.test.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ describe("createWorkflows", () => {
4545
accessibility_alt_text_bot:
4646
runs-on: ubuntu-latest
4747
steps:
48-
- if: \${{ github.event.issue || github.event.pull_request }}
49-
uses: github/[email protected]
48+
- uses: github/[email protected]
5049
5150
name: Accessibility Alt Text Bot
5251
@@ -372,8 +371,7 @@ describe("createWorkflows", () => {
372371
accessibility_alt_text_bot:
373372
runs-on: ubuntu-latest
374373
steps:
375-
- if: \${{ github.event.issue || github.event.pull_request }}
376-
uses: github/[email protected]
374+
- uses: github/[email protected]
377375
378376
name: Accessibility Alt Text Bot
379377

Diff for: src/steps/writing/creation/dotGitHub/createWorkflows.ts

-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export function createWorkflows(options: Options) {
108108
},
109109
steps: [
110110
{
111-
if: "${{ github.event.issue || github.event.pull_request }}",
112111
uses: "github/[email protected]",
113112
},
114113
],

0 commit comments

Comments
 (0)