Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
32e6600
fix: remove authentication tag bytes from attachment download
ElfFlu Aug 23, 2025
a186732
merge: pull request #428 from ElfFlu/bugfix/16byte-attachment-gain
insertish Sep 12, 2025
db57706
feat: ready payload field customisation
Zomatree May 5, 2025
964884a
chore: add policy changes
Zomatree Sep 16, 2025
3a34159
fix: relax settings name regex
Zomatree Sep 16, 2025
fb40110
refactor: move ratelimits to a generic system for all web servers
Zomatree Sep 16, 2025
cc7a796
fix: use `trust_cloudflare` config value instead of env var
Zomatree Sep 18, 2025
bfe4018
fix: apple music to use original url instead of metadata url
Zomatree Sep 19, 2025
b0c977b
feat: initial work on tenor gif searching
Zomatree Aug 7, 2025
b5cd5e3
feat: require auth for search
Zomatree Aug 7, 2025
a92152d
fix: use our own result types instead of tenors types
Zomatree Aug 8, 2025
5885e06
feat: trending and categories routes
Zomatree Sep 11, 2025
db55998
docs: document `revolt-coalesced`
Zomatree Sep 15, 2025
1542047
feat: add ratelimits to gifbox
Zomatree Sep 18, 2025
38dd4d1
fix: swap to using reqwest for query building
Zomatree Sep 19, 2025
6f1c715
chore: bump version to 0.8.9
insertish Sep 23, 2025
f0a83ab
ci: add missing src copies for Docker build
insertish Sep 23, 2025
4fb99e3
ci: also include gifbox src
insertish Sep 23, 2025
d65c1a1
fix(ci): publish images under stoatchat and remove docker hub
Zomatree Oct 11, 2025
af78ac0
chore(ci): move to stoatchat
Zomatree Oct 11, 2025
657a3f0
fix: preserve order of replies in message (#447)
Aeledfyr Oct 27, 2025
e36fc97
fix: prevent timing out members which have TimeoutMembers permission
Zomatree Nov 6, 2025
5b53424
chore: update ci
Zomatree Nov 8, 2025
27ea734
ci: update api token; add validate PR title
insertish Nov 11, 2025
d567155
feat: voice chats v2 (#414)
Zomatree Nov 12, 2025
82b492e
ci: normalise workflow triggers (#459)
insertish Nov 12, 2025
b7c2ca8
chore: update branding in transactional emails (#458)
insertish Nov 12, 2025
ac2971a
chore: modify .github/workflows/validate-pr-title.yml
stoat-tofu[bot] Nov 14, 2025
e006cdd
ci: prevent concurrency on docker/rust actions (#461)
insertish Nov 14, 2025
0b7c132
docs: initialise new docs with docusaurus (#460)
insertish Nov 14, 2025
dda20f4
ci: correct build to ./docs/build (#463)
insertish Nov 14, 2025
24fedf8
fix: respond with 201 if no body in requests (#465)
insertish Nov 16, 2025
dc9c82a
fix: github webhook incorrect payload and formatting (#468)
Zomatree Jan 7, 2026
b48eb28
docs: remove outdated notice about perf. regression (#467)
simonmarty Jan 7, 2026
a7b870c
chore: configure release please (#472)
insertish Jan 8, 2026
ffdb2b6
ci: switch api server as main package for release please (#473)
insertish Jan 8, 2026
22e4619
ci: switch release please to simple mode (#474)
insertish Jan 8, 2026
924c7f5
ci: bootstrap sha (#476)
insertish Jan 8, 2026
e2016a2
ci: add the dependency chain into release please (#477)
insertish Jan 8, 2026
5d27a91
fix: correct miniz_oxide in lockfile (#478)
insertish Jan 9, 2026
0b178fc
fix: correct string_cache in lockfile (#479)
insertish Jan 9, 2026
a5387b6
ci: use dev-dependency for revolt-presence (#480)
insertish Jan 9, 2026
2afea56
feat: add id field to role (#470)
Zomatree Jan 9, 2026
f89ee5a
ci: send release notification on create (#481)
insertish Jan 9, 2026
67d49b4
ci: use our arc runner set for Rust builds (#482)
insertish Jan 10, 2026
868894f
chore(main): release 0.9.0 (#475)
stoat-release[bot] Jan 10, 2026
303e52b
fix(ci): pipeline fixes (marked as fix to force release) (#483)
insertish Jan 10, 2026
58fb269
chore(main): release 0.9.1 (#484)
stoat-release[bot] Jan 10, 2026
d13609c
fix: disable publish for services (#485)
insertish Jan 10, 2026
b4ba022
chore(main): release 0.9.2 (#486)
stoat-release[bot] Jan 10, 2026
bf0048a
chore: modify .github/workflows/release-webhook.yml
stoat-tofu[bot] Jan 10, 2026
aeeafeb
fix: pipeline fixes (#487)
insertish Jan 10, 2026
92b466a
chore: switch back to docker hub since we cache it now (#489)
insertish Jan 10, 2026
d0ea88f
chore(main): release 0.9.3 (#488)
stoat-release[bot] Jan 10, 2026
b2da2a8
fix: checkout repo. before bumping lock (#490)
insertish Jan 10, 2026
c674a9f
fix: persist credentials for git repo (#492)
insertish Jan 10, 2026
c413fbc
chore: modify .github/workflows/release-webhook.yml
stoat-tofu[bot] Jan 10, 2026
50835f0
chore(main): release 0.9.4 (#491)
stoat-release[bot] Jan 10, 2026
2846f09
chore: switch to mise for tooling & update crates for publishing (#494)
insertish Jan 21, 2026
12c187a
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
b9360b4
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
65efea0
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
4344419
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
3c51fad
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
9bdb7d7
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
ff68679
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
ce2a4ec
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
24cfc33
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 24, 2026
9fb55f7
chore: add git-town to mise tools (#497)
insertish Jan 24, 2026
0dc5442
feat: allow kicking members from voice channels (#495)
Zomatree Jan 25, 2026
a1a2125
fix: expose ratelimit headers via cors (#496)
Zomatree Jan 25, 2026
01ded20
feat: repository architecture for files crate w. added tests (#498)
insertish Jan 25, 2026
5611dab
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 25, 2026
310d828
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 25, 2026
1fef495
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Jan 25, 2026
84b57de
chore(main): release 0.10.0 (#502)
stoat-release[bot] Jan 25, 2026
98da8a2
fix: use Rust 1.92.0 for Docker build (#503)
insertish Jan 25, 2026
5d3e65e
chore(main): release 0.10.1 (#504)
stoat-release[bot] Jan 25, 2026
413aa04
fix: thumbnailification requires rgb8/rgba8 (#505)
insertish Jan 25, 2026
4bfd79c
chore(main): release 0.10.2 (#506)
stoat-release[bot] Jan 25, 2026
84483ce
fix: update `Revolt` -> `Stoat` in email titles/desc. (#508)
insertish Feb 7, 2026
1bfb2a7
chore(main): release 0.10.3 (#509)
stoat-release[bot] Feb 9, 2026
4a0957b
Update repo readme header (#511)
tstirrat15 Feb 9, 2026
5132270
feat: appeal to the almighty Spamhaus (#524)
insertish Feb 10, 2026
ba79849
chore(main): release 0.11.0 (#525)
stoat-release[bot] Feb 10, 2026
95c7dbc
ci: do not interpolate directly into release workflows (#545)
insertish Feb 12, 2026
94cb916
fix: bots in multiple voice channel logic (#544)
Zomatree Feb 13, 2026
2e87696
chore(main): release 0.11.1 (#554)
stoat-release[bot] Feb 13, 2026
a11986b
fix: cut events traffic while we engineer a new events architecture (…
insertish Feb 13, 2026
7c7f4f2
chore(main): release 0.11.2 (#560)
stoat-release[bot] Feb 13, 2026
1f8ea96
fix: cut presence traffic too while we engineer a new events architec…
insertish Feb 13, 2026
74f0c53
chore(main): release 0.11.3 (#562)
stoat-release[bot] Feb 13, 2026
a75e4ea
fix: add separate config option for redis events replica url (#590)
insertish Feb 16, 2026
8849d03
chore(main): release 0.11.4 (#591)
stoat-release[bot] Feb 16, 2026
1c98ead
revert: disable user update events (#593)
insertish Feb 17, 2026
8e3765d
chore(main): release 0.11.5 (#598)
stoat-release[bot] Feb 17, 2026
0698e11
fix: default video resolution is a non-existent size (#601)
IAmTomahawkx Feb 18, 2026
6bd045e
chore: modify .github/workflows/release-webhook.yml
stoat-tofu[bot] Feb 20, 2026
0b522eb
feat: expose global and user limits in root API response (#644)
chrishultin Mar 1, 2026
a80ad1c
fix: Fix typo for p256dh in vapid notification flow (#622)
Dadadah Mar 1, 2026
f777e28
feat: add bug report template for issue tracking (#627)
kris6673 Mar 1, 2026
24d0d2b
fix: no node state set on channel creation (#653)
IAmTomahawkx Mar 3, 2026
d629e89
fix: replace some links and Revolt mentions to current Stoat (#515)
Damocles078 Mar 8, 2026
b0b728f
fix: redis_url vs redis_uri in config (#666)
IAmTomahawkx Mar 10, 2026
49c6289
fix: store server id in redis and in room metadata to be able to dele…
Zomatree Mar 10, 2026
52c0d2f
fix: send push notifications for DM and group messages (#660)
sanasol Mar 10, 2026
d56135e
fix: Check for appropriate permission for removing other users avatar…
chrishultin Mar 10, 2026
ab52569
fix: add masquerade permission to default direct message settings (#665)
Arsabutispik Mar 14, 2026
f2fc1ee
docs: documentation generation (#575)
Damocles078 Mar 14, 2026
dc4438b
fix: uname is missing from crond (#675)
IAmTomahawkx Mar 15, 2026
5701b5c
fix: don't use a bitop for OR (#676)
IAmTomahawkx Mar 15, 2026
2547fc6
docs: add LLM policy to contrib.md (#683)
insertish Mar 22, 2026
5191bd1
feat: load config from env vars (#576)
thisguyStan Mar 23, 2026
3fa0abf
feat: Detect animation in image files for fetch_preview (#574)
Assisting Mar 23, 2026
b830631
fix(docs): Update GitHub links (#647)
sinus-x Mar 23, 2026
cf2cedc
chore: silence git town errors (#687)
IAmTomahawkx Mar 23, 2026
edfa97d
feat: Allow restricting server creation to specific users (#685)
IAmTomahawkx Mar 23, 2026
2a73d82
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Mar 24, 2026
abfb392
chore: modify .github/workflows/git-town.yml
stoat-tofu[bot] Mar 24, 2026
1a9d5b4
chore: modify .github/workflows/release-webhook.yml
stoat-tofu[bot] Mar 24, 2026
ecb94e2
chore: modify .github/workflows/validate-pr-title.yml
stoat-tofu[bot] Mar 24, 2026
ec22deb
docs(readme): remove outdated reference to `scripts/install.sh`; add …
flexxyfluxx Mar 27, 2026
98c7b1b
feat: implement time based message sweep on user ban (#670)
Arsabutispik Mar 28, 2026
a5cd08a
fix: add flag for disabling events instead of commenting them out (#695)
IAmTomahawkx Mar 28, 2026
6107f24
feat: Add slowmode functionality to text channels (#680)
Arsabutispik Mar 28, 2026
d1e72ce
feat: parse message push notification content and replace internal fo…
IAmTomahawkx Mar 28, 2026
735d644
feat: Transfer ownership (#396)
LazyCat2 Mar 28, 2026
91783b9
fix: only show first line on commit messages (#696)
Zomatree Mar 28, 2026
c2d4369
feat: compute thumbhash for images (#596)
isitreallyalive Mar 28, 2026
52ed510
fix: improve generated openapi.json (#584)
Damocles078 Mar 28, 2026
ccda6f5
fix: pass &str to Reference (#697)
Zomatree Mar 28, 2026
f181edc
feat: update livekit (#698)
IAmTomahawkx Mar 28, 2026
4d4b0dd
chore(main): release 0.12.0 (#602)
stoat-release[bot] Mar 29, 2026
f0e513c
fix: update release (me from this) please (#699)
IAmTomahawkx Mar 29, 2026
5466ada
Fix: release please bs 2 electric boogaloo (#701)
IAmTomahawkx Mar 29, 2026
8814bf4
fix: release-please-3 (#702)
IAmTomahawkx Mar 29, 2026
1e80916
Fix/release please fix 4 (#703)
IAmTomahawkx Mar 29, 2026
f81e329
fix: test failure due to wrong assertion (#707)
IAmTomahawkx Mar 31, 2026
f30b729
fix: don't send self dm notifications (#706)
IAmTomahawkx Mar 31, 2026
f2c056a
fix: add migration to update existing files to be animated (#705)
Zomatree Apr 2, 2026
fb8fe16
fix: mise start + missing docker image (#564)
Damocles078 Apr 2, 2026
4ea8f90
docs: update donation link (#709)
insertish Apr 2, 2026
47336a7
docs: pr template (#713)
insertish Apr 10, 2026
61fd136
chore(main): release 0.12.1 (#700)
stoat-release[bot] Apr 11, 2026
144e939
docs: add run in yaak button to endpoints page (#711)
infi Apr 11, 2026
3675ff1
chore: migrate all local dependancies to workspace dependancies (#710)
Zomatree Apr 18, 2026
057f2bb
fix: add reconnection policy to Redis subscriber to prevent ghost sta…
Infiland Apr 18, 2026
89171e9
fix: dont send notification in fcm (#721)
Zomatree Apr 23, 2026
ed4fd5e
fix: update message length validation to remove upper limit (#723)
Arsabutispik Apr 24, 2026
e937697
feat: automatically sanitise usernames on create/update (#689)
jarvarvarvis Apr 24, 2026
279f5d5
fix: add new_user_hours to configuration limits (#729)
Arsabutispik Apr 27, 2026
841985d
feat: add role icon support (#724)
Arsabutispik May 3, 2026
5378cd2
fix: use correct response for NoEffect errors (#732)
Arsabutispik May 5, 2026
6b41db9
feat: blacklist private ip ranges and add january domain blocklist (#…
IAmTomahawkx May 6, 2026
21d8201
feat: add legal links to root payload (#733)
Arsabutispik May 6, 2026
356491e
fix: january ip redirects & domain resolver (#738)
IAmTomahawkx May 7, 2026
df276ac
chore: update emoji list (#740)
Arsabutispik May 8, 2026
9fd7128
fix: encode filenames in redirects (#737)
Arsabutispik May 8, 2026
ab5bd47
feat: Rewrite acks (#741)
IAmTomahawkx May 8, 2026
0719985
fix: docker compose file had personal url in it (#742)
IAmTomahawkx May 8, 2026
d46c7f7
feat: add embed support for YouTube Shorts (#734)
Arsabutispik May 8, 2026
23ad135
feat: add emoji rename endpoint (#714)
gabrielfordevelopment May 8, 2026
6f3441c
feat: Add webhook endpoints for editing and deleting messages (#682)
Taureon May 8, 2026
d76a711
fix: don't strip ICC from exif (#735)
Arsabutispik May 8, 2026
d52e84c
chore(main): release 0.13.0 (#722)
stoat-release[bot] May 9, 2026
1100eaf
fix: amqprs startup bug (#744)
IAmTomahawkx May 10, 2026
2600364
chore(main): release 0.13.1 (#745)
stoat-release[bot] May 10, 2026
fcb8091
fix: update default exchange to `revolt.default` (#746)
insertish May 11, 2026
8157e1f
chore(main): release 0.13.2 (#747)
stoat-release[bot] May 11, 2026
7647cfc
fix: don't automatically set up rabbitmq in delta (#749)
IAmTomahawkx May 15, 2026
ab9b8cc
chore(main): release 0.13.3 (#750)
stoat-release[bot] May 15, 2026
6cfee1f
fix: add TLS feature to livekit-api crate (#753)
insertish May 16, 2026
ee45754
chore(main): release 0.13.4 (#754)
stoat-release[bot] May 16, 2026
19ee535
Merge commit from fork
IAmTomahawkx May 17, 2026
c902077
fix: dont panic on hash missing when deleting files (#755)
Zomatree May 17, 2026
6c920de
chore(main): release 0.13.5 (#759)
stoat-release[bot] May 17, 2026
298742d
fix: include `minio` region as tests need it (#761)
insertish May 17, 2026
26a8692
ci: ignore test errors on main (#763)
insertish May 17, 2026
494c8b7
fix: Use proper headers to determine IP when not behind cloudflare (#…
IAmTomahawkx May 18, 2026
2871632
fix: voice ingress crashing due to new Result in AMQP::new_auto() (#765)
IAmTomahawkx May 18, 2026
acbc087
feat: Update FCM payload for android notifications (#766)
IAmTomahawkx May 18, 2026
af0d8aa
feat: user slowmode events (#760)
Arsabutispik May 18, 2026
018afaf
fix: set env var for publishing crates (#768)
IAmTomahawkx May 18, 2026
5b19853
chore: switch to lapin (#767)
Zomatree May 18, 2026
03b5265
chore(main): release 0.13.6 (#762)
stoat-release[bot] May 18, 2026
0d9ae50
fix: update mention count badge for channel acks (#769)
Zomatree May 19, 2026
4815429
ci: create Docker images for PR preview (#772)
insertish May 20, 2026
b38499a
ci: hard code packages, gh token limitation [skip ci] (#773)
insertish May 20, 2026
2d308e0
fix: sanitize emoji input to handle variation selectors (#774)
Arsabutispik May 21, 2026
7937179
chore(main): release 0.13.7 (#770)
stoat-release[bot] May 21, 2026
bd987bf
chore: update unicode emoji list (#781)
Arsabutispik May 28, 2026
65acc64
chore: modify .github/workflows/renovate.yml
stoat-tofu[bot] Jun 1, 2026
0896e68
chore: modify renovate.json
stoat-tofu[bot] Jun 1, 2026
5b769b6
chore(docs): update header logo (#796)
IAmTomahawkx Jun 3, 2026
bebfe34
fix: point docs favicon to correct location (#789)
Asraye Jun 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
147 changes: 147 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
name: Bug Report
description: Report a bug in Stoat — please fill out every required field to help us triage quickly.
title: "[Bug]: "
labels:
- bug
- unconfirmed

body:
# ── Thank you section ────────────────────────────────────────────────────────
- type: markdown
attributes:
value: |
**Thank you for taking the time to report a bug for Stoat!**

Please follow the instructions below and provide as much detail as possible to help us understand and reproduce the issue.

# ── Pre-flight checks ────────────────────────────────────────────────────────
- type: checkboxes
id: preflight
attributes:
label: Pre-flight checklist
description: Please confirm all of the following before submitting.
options:
- label: I am on the latest available version of Stoat.
required: true
- label: I searched existing issues and did not find a duplicate.
required: true
- label: This is a bug report, not a support question or feature request.
required: true

# ── Bug description ──────────────────────────────────────────────────────────
- type: textarea
id: description
attributes:
label: Bug description
description: >
What happened? What did you expect to happen instead?
Keep this brief — detailed steps go in the next field.
placeholder: "Example: When I open a DM thread, new messages from the other person do not appear unless I reload the page."
validations:
required: true

# ── Steps to reproduce ───────────────────────────────────────────────────────
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: >
Provide a numbered list of every step needed to trigger the bug.
The clearer this is, the faster we can fix it.
placeholder: |
1. Log in to Stoat on the web client.
2. Open a direct message conversation.
3. Ask the other person to send a message.
4. Observe that the message does not appear without reloading.
validations:
required: true

# ── Expected behavior ────────────────────────────────────────────────────────
- type: textarea
id: expected
attributes:
label: Expected behavior
description: What should have happened?
placeholder: "New messages should appear in real time without a page reload."
validations:
required: true

# ── Client / platform ────────────────────────────────────────────────────────
- type: dropdown
id: platform
attributes:
label: Client / platform
description: Which Stoat client are you using?
options:
- Web (browser)
- Stoat for Desktop
- Android
- iOS
- Self-hosted server
validations:
required: true

# ── Client version ───────────────────────────────────────────────────────────
- type: input
id: version
attributes:
label: Client version
description: >
Find this in **Settings**. For the web client, include the build
number shown in the footer or About page.
placeholder: "e.g. Stoat for Desktop 1.3.0 or 0.2.1 (2025-10-10)"
validations:
required: true

# ── OS / browser details ─────────────────────────────────────────────────────
- type: input
id: os
attributes:
label: OS / browser details
description: Your operating system and, for web bugs, your browser and its version.
placeholder: "e.g. Windows 11, Chrome 121 or macOS 14.3, Stoat for Desktop 1.3.0 or Android 14"
validations:
required: true

# ── Reproducibility ──────────────────────────────────────────────────────────
- type: dropdown
id: reproducibility
attributes:
label: Reproducibility
description: How consistently does this bug occur?
options:
- Always
- Usually
- Rarely
- Only once
- Unknown
validations:
required: true

# ── Screenshots or video ─────────────────────────────────────────────────────
- type: textarea
id: screenshots
attributes:
label: Screenshots or video
description: Paste images or drag-and-drop a screen recording here. GitHub accepts common image and video formats.
validations:
required: false

# ── Additional context ───────────────────────────────────────────────────────
- type: textarea
id: additional
attributes:
label: Additional context
description: >
Anything else that might help: workarounds you found, links to related issues,
self-hosted configuration details (Redis, MongoDB, LiveKit, SMTP), network environment, etc.
validations:
required: false

# ── Closing note ─────────────────────────────────────────────────────────────
- type: markdown
attributes:
value: |
---
A maintainer will review your report. Please watch for follow-up questions — issues
that go unanswered are harder to resolve and may be closed after 30 days of inactivity.
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- Describe your changes -->

Fixes # (issue)

## How was this PR tested?

<!-- What did you do to test your changes? -->

- [ ] Test A
- [ ] Test B

## Checklist:

- [ ] I have carefully read [the contributing guidelines](https://developers.stoat.chat/developing/contrib/)
- [ ] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation if applicable
- [ ] I have no unrelated changes in the PR
- [ ] I have confirmed that any new dependencies are strictly necessary
- [ ] I have written tests for new code (if applicable)
- [ ] I have followed naming conventions/patterns in the surrounding code

## Please declare, if any, LLM usage involved in creating this PR

...
37 changes: 0 additions & 37 deletions .github/workflows/book.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/docker-cleanup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Docker PR Image Cleanup

on:
pull_request:
types:
- closed

permissions:
contents: read
packages: write

concurrency:
group: docker-cleanup-${{ github.event.pull_request.number }}
cancel-in-progress: false

jobs:
cleanup:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.head.repo.fork }}
strategy:
fail-fast: false
matrix:
package:
- base
- api
- events
- file-server
- proxy
- gifbox
- crond
- pushd
- voice-ingress
steps:
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORG: stoatchat
PACKAGE: ${{ matrix.package }}
TAG: pr-${{ github.event.pull_request.number }}
run: |
set -euo pipefail
gh api --paginate \
"/orgs/${ORG}/packages/container/${PACKAGE}/versions" \
--jq ".[] | select(.metadata.container.tags | index(\"${TAG}\")) | .id" \
| while read -r id; do
gh api -X DELETE "/orgs/${ORG}/packages/container/${PACKAGE}/versions/${id}"
done
Loading
Loading