Skip to content

Commit

Permalink
4.0.5 (#83)
Browse files Browse the repository at this point in the history
* fix: add missing configuration for non-default Slack channel messages (#81)

* v4.0.5
  • Loading branch information
FrederikBolding authored May 14, 2024
1 parent ceb76b5 commit a529abf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.0.5]
### Fixed
- Add missing configuration for non-default Slack channel messages ([#83](https://github.com/MetaMask/action-npm-publish/pull/83))

## [4.0.4]
### Fixed
- Fix action validation error ([#77](https://github.com/MetaMask/action-npm-publish/pull/77))
Expand Down Expand Up @@ -88,7 +92,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Initial release ([#1](https://github.com/MetaMask/action-npm-publish/pull/1))

[Unreleased]: https://github.com/MetaMask/action-npm-publish/compare/v4.0.4...HEAD
[Unreleased]: https://github.com/MetaMask/action-npm-publish/compare/v4.0.5...HEAD
[4.0.5]: https://github.com/MetaMask/action-npm-publish/compare/v4.0.4...v4.0.5
[4.0.4]: https://github.com/MetaMask/action-npm-publish/compare/v4.0.3...v4.0.4
[4.0.3]: https://github.com/MetaMask/action-npm-publish/compare/v4.0.2...v4.0.3
[4.0.2]: https://github.com/MetaMask/action-npm-publish/compare/v4.0.1...v4.0.2
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ runs:
"username": "${{ inputs.username }}",
"channel": "#${{ inputs.channel }}"
}
env:
SLACK_WEBHOOK_URL: ${{ inputs.slack-webhook-url }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
continue-on-error: true
- name: Post to a default Slack channel
if: ${{ inputs.slack-webhook-url != '' && inputs.channel == '' }}
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "https://github.com/MetaMask/action-npm-publish/issues"
},
"homepage": "https://github.com/MetaMask/action-npm-publish#readme",
"version": "4.0.4",
"version": "4.0.5",
"main": "index.js",
"directories": {
"test": "test"
Expand Down

0 comments on commit a529abf

Please sign in to comment.