File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @slack/bolt " : patch
3+ ---
4+
5+ fix: correct InvalidCustomPropertyError code and MemoryStore promise handling
Original file line number Diff line number Diff line change 6666 run : npm ci --verbose
6767
6868 - name : Publish to npm and create GitHub releases
69+ id : changesets
6970 uses : changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0
7071 with :
7172 createGithubReleases : true
7273 publish : npm run changeset -- publish
7374 env :
7475 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
76+
77+ - name : Get publication details
78+ if : steps.changesets.outputs.published == 'true'
79+ id : release
80+ run : |
81+ echo "url=$(gh release view --json url -q .url)" >> "$GITHUB_OUTPUT"
82+ echo "message=$(echo "$PUBLISHED_PACKAGES" | jq -r '.[] | "\(.name)@\(.version)"' | paste -sd ', ' -)" >> "$GITHUB_OUTPUT"
83+ env :
84+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85+ PUBLISHED_PACKAGES : ${{ steps.changesets.outputs.publishedPackages }}
86+
87+ - name : Notify Slack
88+ if : steps.changesets.outputs.published == 'true'
89+ uses : slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
90+ with :
91+ webhook : ${{ secrets.SLACK_RELEASE_ANNOUNCEMENTS_WEBHOOK_URL }}
92+ webhook-type : webhook-trigger
93+ payload : |
94+ action_url: "${{ steps.release.outputs.url }}"
95+ message: "${{ steps.release.outputs.message }}"
96+ repository: "${{ github.repository }}"
You can’t perform that action at this time.
0 commit comments