zed/.github/workflows/release_actions.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1.1 KiB
YAML
Raw Normal View History

on:
release:
types: [published]
jobs:
discord_release:
runs-on: ubuntu-latest
steps:
2023-11-02 13:05:29 +00:00
- name: Get release URL
id: get-release-url
run: |
if [ "${{ github.event.release.prerelease }}" == "true" ]; then
URL="https://zed.dev/releases/preview/latest"
else
URL="https://zed.dev/releases/stable/latest"
fi
echo "::set-output name=URL::$URL"
- name: Get content
Update 2428392/gh-truncate-string-action action to v1.4.0 (#16263) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [2428392/gh-truncate-string-action](https://togithub.com/2428392/gh-truncate-string-action) | action | minor | `v1.3.0` -> `v1.4.0` | --- ### Release Notes <details> <summary>2428392/gh-truncate-string-action (2428392/gh-truncate-string-action)</summary> ### [`v1.4.0`](https://togithub.com/2428392/gh-truncate-string-action/releases/tag/v1.4.0) [Compare Source](https://togithub.com/2428392/gh-truncate-string-action/compare/v1.3.0...v1.4.0) #### What's Changed - feat: update nodejs to version 20 by [@&#8203;psilore](https://togithub.com/psilore) in [https://github.com/2428392/gh-truncate-string-action/pull/11](https://togithub.com/2428392/gh-truncate-string-action/pull/11) #### New Contributors - [@&#8203;psilore](https://togithub.com/psilore) made their first contribution in [https://github.com/2428392/gh-truncate-string-action/pull/11](https://togithub.com/2428392/gh-truncate-string-action/pull/11) **Full Changelog**: https://github.com/2428392/gh-truncate-string-action/compare/v1.3.0...v1.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 14:38:06 +00:00
uses: 2428392/gh-truncate-string-action@e6b5885fb83c81ca9a700a91b079baec2133be3e # v1.4.0
2023-11-02 13:05:29 +00:00
id: get-content
with:
stringToTruncate: |
📣 Zed [${{ github.event.release.tag_name }}](<${{ steps.get-release-url.outputs.URL }}>) was just released!
2023-11-02 13:05:29 +00:00
${{ github.event.release.body }}
maxLength: 2000
truncationSymbol: "..."
- name: Discord Webhook Action
Pin dependencies (#15188) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [2428392/gh-truncate-string-action](https://togithub.com/2428392/gh-truncate-string-action) | action | pinDigest | -> `67b1b81` | | [actions/checkout](https://togithub.com/actions/checkout) | action | pinDigest | -> `692973e` | | [actions/checkout](https://togithub.com/actions/checkout) | action | pinDigest | -> `ee0669b` | | [actions/setup-node](https://togithub.com/actions/setup-node) | action | pinDigest | -> `1e60f62` | | [actions/setup-python](https://togithub.com/actions/setup-python) | action | pinDigest | -> `39cd149` | | [actions/upload-artifact](https://togithub.com/actions/upload-artifact) | action | pinDigest | -> `0b2256b` | | [cloudflare/wrangler-action](https://togithub.com/cloudflare/wrangler-action) | action | pinDigest | -> `f84a562` | | [dcarbone/install-jq-action](https://togithub.com/dcarbone/install-jq-action) | action | pinDigest | -> `8867ddb` | | [peaceiris/actions-mdbook](https://togithub.com/peaceiris/actions-mdbook) | action | pinDigest | -> `ee69d23` | | [rui314/setup-mold](https://togithub.com/rui314/setup-mold) | action | pinDigest | -> `2e332a0` | | [softprops/action-gh-release](https://togithub.com/softprops/action-gh-release) | action | pinDigest | -> `de2c0eb` | | [swatinem/rust-cache](https://togithub.com/swatinem/rust-cache) | action | pinDigest | -> `23bce25` | | [tsickert/discord-webhook](https://togithub.com/tsickert/discord-webhook) | action | pinDigest | -> `c840d45` | --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 13:19:05 +00:00
uses: tsickert/discord-webhook@c840d45a03a323fbc3f7507ac7769dbd91bfb164 # v5.3.0
2023-11-02 13:05:29 +00:00
with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
content: ${{ steps.get-content.outputs.string }}