Skip to content

Commit 058d5c6

Browse files
authored
chore: remove unused Slack announce job, add issues:write permission (#30)
Made-with: Cursor
1 parent fe5d6a4 commit 058d5c6

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ on:
2828

2929
permissions:
3030
contents: write
31+
issues: write
3132
pull-requests: write
3233

3334
jobs:
@@ -90,19 +91,3 @@ jobs:
9091
with:
9192
tag_name: ${{ needs.release-please.outputs.tag_name }}
9293
files: "*.mcpb"
93-
94-
announce:
95-
needs: [release-please, npm-publish]
96-
if: ${{ needs.release-please.outputs.release_created }}
97-
runs-on: ubuntu-latest
98-
steps:
99-
- name: Post to Slack
100-
if: ${{ vars.SLACK_WEBHOOK_URL }}
101-
uses: slackapi/slack-github-action@v1
102-
with:
103-
webhook-url: ${{ vars.SLACK_WEBHOOK_URL }}
104-
webhook-type: incoming-webhook
105-
payload: |
106-
{
107-
"text": "🚀 ${{ github.repository }} ${{ needs.release-please.outputs.tag_name }} released!\n\nhttps://github.com/${{ github.repository }}/releases/tag/${{ needs.release-please.outputs.tag_name }}"
108-
}

0 commit comments

Comments
 (0)