Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
midleman committed Jan 28, 2025
1 parent 16023b4 commit b5c8a01
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN }}
notify_on: "never"
notify_on: "always"
channel: "U07KNKY6S5C"
comment_junit_failures: "true"
comment_junit_flakes: "true"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
# sends the workflow summary slack message. and depending on configuration, it can
# also comment in a thread with the playwright test results and report hyperlink.
- name: Post Workflow Status to Slack
uses: midleman/slack-workflow-status@v2.0.1
uses: midleman/slack-workflow-status@v2.1.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27076,8 +27076,6 @@ function main() {
try {
const inputs = (0, inputs_1.getActionInputs)();
const { githubToken, slackToken, slackChannel, notifyOn, jobsToFetch, includeJobsTime, includeCommitMessage, commentJunitFailures, commentJunitFlakes, commentJunitFailuresEmoji, commentJunitFlakesEmoji } = inputs;
// Debugging: Log the value of notifyOn for clarity
core.info(`notifyOn value: "${notifyOn}"`);
// Exit early if notifyOn is set to "never"
if (notifyOn === 'never') {
core.info('No notification sent: "notifyOn" is set to "never". Exiting early.');
Expand Down
3 changes: 0 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ async function main(): Promise<void> {
commentJunitFlakesEmoji
} = inputs

// Debugging: Log the value of notifyOn for clarity
core.info(`notifyOn value: "${notifyOn}"`)

// Exit early if notifyOn is set to "never"
if (notifyOn === 'never') {
core.info(
Expand Down

0 comments on commit b5c8a01

Please sign in to comment.