forked from matrix-org/matrix-hookshot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add support for setting an expiry time on a webhook. See the documentation on [Generic Webhooks](https://matrix-org.github.io/matrix-hookshot/latest/setup/webhooks.html) for more information. ([\matrix-org#984](matrix-org#984)) - Support for E2E Encrypted rooms is now considered stable and can be enabled in production. Please see the [documentation](https://matrix-org.github.io/matrix-hookshot/latest/advanced/encryption.html) on the requirements for enabling support. ([\matrix-org#989](matrix-org#989)) - Fix Challenge Hound activities being duplicated if the cache layer (e.g Redis) goes away. ([\matrix-org#982](matrix-org#982)) - Drop support for Node 20 and start supporting Node 22, 23. ([\matrix-org#990](matrix-org#990)) - Reduce bundle size of widget. ([\matrix-org#985](matrix-org#985)) - Don't invoke newsfile CI check for dependabot. ([\matrix-org#987](matrix-org#987)) - Add devenv development files. ([\matrix-org#993](matrix-org#993)) - Push Docker images to ghcr.io, and and build an image on each commit. ([\matrix-org#994](matrix-org#994)) - Retry e2e tests in CI due to container creation flakiness. ([\matrix-org#995](matrix-org#995)) - Update matrix-bot-sdk to pull in new matrix-rust-sdk. ([\matrix-org#996](matrix-org#996))
- Loading branch information
Showing
169 changed files
with
8,320 additions
and
3,569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source_url "https://raw.githubusercontent.com/cachix/devenv/95f329d49a8a5289d31e0982652f7058a189bfca/direnvrc" "sha256-d+8cBpDfDBj41inrADaJt+bDWhOktwslgoP5YiGJ1v0=" | ||
|
||
use devenv |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Devenv | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "/devenv*" | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- "/devenv*" | ||
|
||
jobs: | ||
test-nix-env: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v26 | ||
- uses: cachix/cachix-action@v14 | ||
with: | ||
name: devenv | ||
- name: Install devenv.sh | ||
run: nix profile install nixpkgs#devenv | ||
- name: Build the devenv shell and run any git hooks | ||
run: devenv test |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Based on https://github.com/matrix-org/dendrite/blob/master/.github/workflows/docker-hub.yml | ||
|
||
name: "Docker" | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- changelog.d/**' | ||
pull_request: | ||
branches: [ main ] | ||
paths-ignore: | ||
- changelog.d/**' | ||
release: | ||
types: [published] | ||
|
||
merge_group: | ||
|
||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: false | ||
|
||
env: | ||
DOCKER_NAMESPACE: halfshot | ||
PLATFORMS: linux/amd64 | ||
PLATFORMS_PUSH: linux/amd64,linux/arm64 | ||
# Only push if this is main, otherwise we just want to build | ||
BUILD_FOR_ALL_PLATFORMS: ${{ github.ref == 'refs/heads/main' }} | ||
|
||
jobs: | ||
docker-latest: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
attestations: write | ||
id-token: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
- name: Log in to the GitHub Container registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
tags: | | ||
type=semver,pattern={{version}} | ||
type=ref,event=branch | ||
type=ref,event=pr | ||
type=raw,value=latest,enable={{is_default_branch}} | ||
images: | | ||
${{ env.DOCKER_NAMESPACE }}/matrix-hookshot | ||
ghcr.io/matrix-org/matrix-hookshot | ||
- name: Build and push Docker images | ||
id: push | ||
uses: docker/build-push-action@v6 | ||
with: | ||
context: . | ||
# arm64 builds OOM without the git fetch setting. c.f. | ||
# https://github.com/rust-lang/cargo/issues/10583 | ||
build-args: | | ||
CARGO_NET_GIT_FETCH_WITH_CLI=true | ||
platforms: ${{ (env.BUILD_FOR_ALL_PLATFORMS == 'true' && env.PLATFORMS_PUSH) || env.PLATFORMS }} | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.