diff --git a/.github/actions/e2e/slack/notify/action.yaml b/.github/actions/e2e/slack/notify/action.yaml index 8ee4e14f5f50..ad317d1ffeb9 100644 --- a/.github/actions/e2e/slack/notify/action.yaml +++ b/.github/actions/e2e/slack/notify/action.yaml @@ -4,8 +4,6 @@ inputs: suite: description: "Suite that's running" required: true - k8s_version: - description: "Kubernetes version that this test ran against" url: description: "Webhook URL to send the Slack notification to" required: true diff --git a/.github/workflows/codegen.yaml b/.github/workflows/codegen.yaml index 7398701cebf1..766d9d2e3928 100644 --- a/.github/workflows/codegen.yaml +++ b/.github/workflows/codegen.yaml @@ -52,3 +52,9 @@ jobs: issue_number: result.data.number, labels: ['aws', 'dependencies'] }); + - name: notify slack of success or failure + uses: ./.github/actions/e2e/slack/notify + if: (success() || failure()) + with: + url: ${{ secrets.SLACK_WEBHOOK_URL }} + suite: codegen \ No newline at end of file diff --git a/.github/workflows/e2e-upgrade.yaml b/.github/workflows/e2e-upgrade.yaml index f704db3024fc..bf01668c6a60 100644 --- a/.github/workflows/e2e-upgrade.yaml +++ b/.github/workflows/e2e-upgrade.yaml @@ -132,7 +132,6 @@ jobs: with: url: ${{ secrets.SLACK_WEBHOOK_URL }} suite: Upgrade - k8s_version: ${{ inputs.k8s_version }} git_ref: ${{ inputs.to_git_ref }} - name: dump logs on failure uses: ./.github/actions/e2e/dump-logs diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 94bada6b40a7..387fcb844639 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -133,7 +133,6 @@ jobs: with: url: ${{ secrets.SLACK_WEBHOOK_URL }} suite: ${{ inputs.suite }} - k8s_version: ${{ inputs.k8s_version }} git_ref: ${{ inputs.git_ref }} - name: dump logs on failure uses: ./.github/actions/e2e/dump-logs