Skip to content

Commit bd5cfa1

Browse files
committed
ci: Fix notification workflow round 3
1 parent 94914dd commit bd5cfa1

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/notify-unreleased-commits.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,17 @@ jobs:
1414
- name: List Commits
1515
id: list-commits
1616
run: |
17-
SUMMARY="$(./scripts/list-unreleased-commits.sh)"
18-
echo "summary<<EOF" >> $GITHUB_OUTPUT
19-
echo "$SUMMARY" >> $GITHUB_OUTPUT
20-
echo "EOF" >> $GITHUB_OUTPUT
17+
./scripts/list-unreleased-commits.sh > summary.txt
2118
2219
- name: Discord notification
23-
uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554
20+
run: |
21+
curl -X POST \
22+
-F "payload_json={\"content\": \"${{ env.MESSAGE }}\"}" \
23+
24+
$DISCORD_WEBHOOK
2425
env:
2526
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_UNRELEASED_COMMITS }}
26-
with:
27-
args: |
28-
```
29-
${{ steps.list-commits.outputs.summary }}
30-
```
31-
27+
MESSAGE: |
3228
If a package needs released, please [run the workflow](https://github.com/wxt-dev/wxt/actions/workflows/release.yml).
3329
3430
Before running, consider:

0 commit comments

Comments
 (0)