Skip to content

Commit 82fe8e6

Browse files
committed
Clear TODO Comments
1 parent 1b2a728 commit 82fe8e6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/end-to-end.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ on:
44
schedule:
55
- cron: "0 4 * * *"
66

7-
# TODO: Use workflow dispatch for testing manually. Should only enable schedule run when merging the PR
8-
# on:
7+
# TODO: Use workflow dispatch for testing manually. Can be removed before merging the PR
98
workflow_dispatch:
109
inputs:
1110
environment:
@@ -616,11 +615,12 @@ jobs:
616615
GITHUB_ACTOR: ${{ github.actor }}
617616
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
618617

619-
# TODO: Alert run with condition github.event.inputs.alerts == 'true' should be changed to always() when PR is ready to merge
618+
# TODO: alert job condition should be changed to always() before PR is merged
620619
alert:
621620
needs: [clean-apps-image]
622621
runs-on: ubuntu-latest
623-
# if: github.event.inputs.alerts == 'true' && github.ref == 'refs/heads/main'
622+
if: github.event.inputs.alerts == 'true' && github.ref == 'refs/heads/main' && github.workflow.on == 'workflow_dispatch'
623+
environment: test
624624
steps:
625625
- id: get-sha
626626
run: |

0 commit comments

Comments
 (0)