Skip to content

Commit 50e6dcd

Browse files
github-actions[bot]actions-userMishaKav
authored
Bump @linearb/gitstream-core to 2.1.227 (#442)
* bump @linearb/gitstream-core to 2.1.227 * Revert "refactor: use shared slack-notification action (#437)" This reverts commit 7eea379. --------- Co-authored-by: GitHub Actions Bot <[email protected]> Co-authored-by: Misha Kav <[email protected]>
1 parent 154cc77 commit 50e6dcd

File tree

4 files changed

+53
-41
lines changed

4 files changed

+53
-41
lines changed

.github/workflows/create-tag-on-merge.yml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,25 @@ jobs:
118118
git commit -m "Update v2-lite to $NEW_TAG"
119119
git push origin v2-lite
120120
121-
- name: Slack Notification
122-
if: steps.should-deploy.outputs.result == 'true' && always()
123-
uses: linear-b/shared-workflows/.github/actions/slack-notification@develop
124-
with:
125-
status: ${{ job.status }}
126-
webhook_url: ${{ env.SLACK_WEBHOOK }}
127-
footer_links: <${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ env.NEW_TAG }}|${{ env.NEW_TAG }}>
128-
message: |
129-
${{ job.status == 'success' && 'Released' || 'Failed to release' }} `${{ env.NEW_TAG }}` to `gitstream-github-action`
130-
${{ job.status == 'success' && steps.should-deploy.outputs.release-notes || '' }}
121+
- name: Success Slack Notification
122+
if: steps.should-deploy.outputs.result == 'true' && success()
123+
uses: rtCamp/action-slack-notify@v2
124+
env:
125+
MSG_MINIMAL: true
126+
SLACK_WEBHOOK: ${{ env.SLACK_WEBHOOK }}
127+
SLACK_TITLE: ${{ github.repository }}
128+
SLACK_FOOTER: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|workflow run> | <${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ env.NEW_TAG }}|${{ env.NEW_TAG }}>
129+
SLACK_MESSAGE: |
130+
Released `${{ env.NEW_TAG }}` to `gitstream-github-action`
131+
${{ steps.should-deploy.outputs.release-notes }}
132+
133+
- name: Failure Slack Notification
134+
if: steps.should-deploy.outputs.result == 'true' && failure()
135+
uses: rtCamp/action-slack-notify@v2
136+
env:
137+
MSG_MINIMAL: true
138+
SLACK_WEBHOOK: ${{ env.SLACK_WEBHOOK }}
139+
SLACK_TITLE: ${{ github.repository }}
140+
SLACK_COLOR: ${{ job.status }}
141+
SLACK_FOOTER: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|workflow run>
142+
SLACK_MESSAGE: Failed to release `${{ env.NEW_TAG }}` to `gitstream-github-action`

dist/index.js

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"license": "Apache-2.0",
4040
"dependencies": {
4141
"@actions/core": "^1.11.1",
42-
"@linearb/gitstream-core": "2.1.226",
42+
"@linearb/gitstream-core": "2.1.227",
4343
"@wasm-fmt/ruff_fmt": "^0.10.0"
4444
},
4545
"devDependencies": {

0 commit comments

Comments
 (0)