Skip to content

Commit 9a3275d

Browse files
Add missing parenthesis
1 parent a46afd9 commit 9a3275d

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/test-e2e.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ name: E2E Tests
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened]
6-
branches: ['**'] # run for PRs targeting any branch (main and others)
6+
branches: ["**"] # run for PRs targeting any branch (main and others)
77
paths-ignore: &ignore_paths
8-
- 'docs/**'
9-
- '*.md'
10-
- '.golangci.yml'
11-
- '.gitignore'
12-
- 'LICENSE'
8+
- "docs/**"
9+
- "*.md"
10+
- ".golangci.yml"
11+
- ".gitignore"
12+
- "LICENSE"
1313
push:
1414
branches: [main]
1515
paths-ignore: *ignore_paths
1616
repository_dispatch:
17-
types: [ ok-to-test-command ]
17+
types: [ok-to-test-command]
1818

1919
concurrency:
2020
group: >-
2121
${{ github.event_name == 'pull_request' &&
2222
format('e2e-{0}', github.event.pull_request.head.ref) ||
2323
format('e2e-{0}', github.event.client_payload.pull_request.head.ref) }}
24-
cancel-in-progress: true # cancel previous job runs for the same branch
24+
cancel-in-progress: true # cancel previous job runs for the same branch
2525

2626
jobs:
2727
check-external-pr:
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
echo "Event name: ${{ github.event_name }}"
3737
echo "Repository: ${{ github.repository }}"
38-
38+
3939
if [ "${{ github.event_name }}" == "pull_request" ]; then
4040
# For pull_request events, check if PR is from external fork
4141
echo "PR head repo: ${{ github.event.pull_request.head.repo.full_name }}"
@@ -80,19 +80,19 @@ jobs:
8080
e2e:
8181
needs: check-external-pr
8282
if: |
83-
(needs.check-external-pr.outputs.condition == 'pr-creation-maintainer')
84-
||
85-
(needs.check-external-pr.outputs.condition == 'dispatch-event')
86-
||
87-
needs.check-external-pr.outputs.condition == 'push-to-main'
83+
(needs.check-external-pr.outputs.condition == 'pr-creation-maintainer')
84+
||
85+
(needs.check-external-pr.outputs.condition == 'dispatch-event')
86+
||
87+
(needs.check-external-pr.outputs.condition == 'push-to-main')
8888
uses: ./.github/workflows/e2e-tests.yml
8989
with:
9090
ref: ${{ needs.check-external-pr.outputs.ref }}
9191
secrets:
9292
OP_CONNECT_CREDENTIALS: ${{ secrets.OP_CONNECT_CREDENTIALS }}
9393
OP_CONNECT_TOKEN: ${{ secrets.OP_CONNECT_TOKEN }}
9494
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
95-
95+
9696
comment-pr:
9797
needs: [check-external-pr, e2e]
9898
runs-on: ubuntu-latest
@@ -103,7 +103,7 @@ jobs:
103103
- name: Create URL to the run output
104104
id: vars
105105
run: echo "run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> $GITHUB_OUTPUT
106-
106+
107107
- name: Create comment on PR
108108
uses: peter-evans/create-or-update-comment@v5
109109
with:

0 commit comments

Comments
 (0)