Skip to content

Commit

Permalink
Remove slack step for now from prep-release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
crow committed Jan 2, 2025
1 parent 6340c9a commit 6636355
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/prep-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,26 +102,26 @@ jobs:
echo "PR Number: ${{ steps.create-pr.outputs.pull-request-number }}"
echo "PR URL: ${{ steps.create-pr.outputs.pull-request-url }}"
- name: Slack Notification (Success)
if: success() && steps.create-pr.outputs.pull-request-number
uses: homoluctus/slatify@master
with:
type: success
job_name: ":tada: Capacitor plugin release pull request generated :tada:"
message: "@mobile-team A new Capacitor plugin release pull request for (v${{ github.event.inputs.capacitor_version }}) is ready! :rocket:"
url: ${{ secrets.MOBILE_SLACK_WEBHOOK }}
# - name: Slack Notification (Success)
# if: success() && steps.create-pr.outputs.pull-request-number
# uses: homoluctus/slatify@master
# with:
# type: success
# job_name: ":tada: Capacitor plugin release pull request generated :tada:"
# message: "@mobile-team A new Capacitor plugin release pull request for (v${{ github.event.inputs.capacitor_version }}) is ready! :rocket:"
# url: ${{ secrets.MOBILE_SLACK_WEBHOOK }}

- name: Handle Failure
if: failure()
run: |
echo "::error::Release preparation failed. Please check the logs above for details."
exit 1
- name: Slack Notification (Failure)
if: failure()
uses: homoluctus/slatify@master
with:
type: failure
job_name: ":disappointed: Capacitor Plugin Release Failed :disappointed:"
message: "@crow The release preparation failed. Please check the workflow logs. :sob:"
url: ${{ secrets.MOBILE_SLACK_WEBHOOK }}
# - name: Slack Notification (Failure)
# if: failure()
# uses: homoluctus/slatify@master
# with:
# type: failure
# job_name: ":disappointed: Capacitor Plugin Release Failed :disappointed:"
# message: "@crow The release preparation failed. Please check the workflow logs. :sob:"
# url: ${{ secrets.MOBILE_SLACK_WEBHOOK }}

0 comments on commit 6636355

Please sign in to comment.