Skip to content

Commit

Permalink
update slack notify
Browse files Browse the repository at this point in the history
  • Loading branch information
midleman committed Jan 6, 2025
1 parent 71f82c1 commit d8aca4e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test-e2e-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
options:
- failure
- always
- never

permissions:
id-token: write
Expand Down Expand Up @@ -117,10 +118,14 @@ jobs:
needs: [e2e-electron]
runs-on: ubuntu-latest
if: always()
env:
notify_on: ${{ github.event_name == 'schedule' && 'always' || inputs.notify_on || 'failure' }}
steps:
- run: |
echo "Will notify on: ${{ env.notify_on }}"
- name: Notify Slack
uses: midleman/slack-workflow-status@master
with:
repo_token: ${{ secrets.POSITRON_GITHUB_PAT }}
slack_webhook_url: ${{ secrets.SLACK_TEST_RESULTS_WEBHOOK_URL }}
notify_on: ${{ inputs.notify_on }}
notify_on: ${{ env.notify_on }}

0 comments on commit d8aca4e

Please sign in to comment.