Skip to content

Commit d2a057c

Browse files
author
M. Emin Cihangeri
committed
chore: Add checkout before
1 parent be52455 commit d2a057c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/e2e-tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
name: 'Build and Test'
2121
runs-on: ubuntu-latest
2222
steps:
23+
- uses: actions/checkout@v6
2324
- uses: ./.github/actions/setup
2425
- name: Create .env file
2526
env:
@@ -46,7 +47,7 @@ jobs:
4647
- name: 'Execute E2E Tests'
4748
run: pnpm test:e2e
4849
- name: 'Slack Notification'
49-
if: failure()
50+
if: failure() && github.ref == 'refs/heads/main'
5051
uses: slackapi/slack-github-action@v3.0.1
5152
with:
5253
webhook: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)