Skip to content

Commit

Permalink
Added CODEOWNERS file for changes to GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWilkie committed Aug 21, 2024
1 parent 6b9eff4 commit 1c11717
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 29 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Notify code owners about changes to GitHub actions
.github/ @JBWilkie
58 changes: 29 additions & 29 deletions .github/workflows/EVENT_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,32 +110,32 @@ jobs:
with:
repository-url: https://test.pypi.org/legacy/

notify_release:
needs: [release]
if: success()
uses: ./.github/workflows/JOB_slack_message.yml
secrets: inherit
with:
icon: ":rocket:"
at_team: true
message: |
:tada: *${{ inputs.release_tag || github.event.release.tag_name }}* has been released!
:link:
- https://pypi.org/project/darwin-py
- ${{ github.event.release.html_url }}
notify_failed_release:
needs: [release]
if: failure()
uses: ./.github/workflows/JOB_slack_message.yml
secrets: inherit
with:
icon: ":warning:"
at_team: true
message: |
:warning: *${{ inputs.release_tag || github.event.release.tag_name }}* Release has failed to be released!
*An error occurred performing release, and you may need to release manually.*
:link:
- ${{ github.event.release.html_url }}
# notify_release:
# needs: [release]
# if: success()
# uses: ./.github/workflows/JOB_slack_message.yml
# secrets: inherit
# with:
# icon: ":rocket:"
# at_team: true
# message: |
# :tada: *${{ inputs.release_tag || github.event.release.tag_name }}* has been released!
# :link:
# - https://pypi.org/project/darwin-py
# - ${{ github.event.release.html_url }}

# notify_failed_release:
# needs: [release]
# if: failure()
# uses: ./.github/workflows/JOB_slack_message.yml
# secrets: inherit
# with:
# icon: ":warning:"
# at_team: true
# message: |
# :warning: *${{ inputs.release_tag || github.event.release.tag_name }}* Release has failed to be released!

# *An error occurred performing release, and you may need to release manually.*

# :link:
# - ${{ github.event.release.html_url }}

0 comments on commit 1c11717

Please sign in to comment.