Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Build branches as binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
aronson committed Oct 20, 2023
1 parent 717aab6 commit 118b792
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Docker Image and Native Binaries

on:
push:
branches: main
branches: "*"
paths:
- .github/workflows/build.yaml
- discord-irc.ts
Expand Down
4 changes: 2 additions & 2 deletions lib/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,10 @@ export default class Bot {
const membersMap = await this.pkApi.getMembers({ system: system.id });
if (membersMap) {
const members = Array.from(membersMap.values());
const tags = members.flatMap(m => m.proxy_tags ?? []);
const tags = members.flatMap((m) => m.proxy_tags ?? []);
for (const tag of tags) {
if (!(tag.prefix || tag.suffix)) continue;
const regex = new RegExp(`^${tag.prefix ?? ""}.*${tag.suffix ?? ""}$`);
const regex = new RegExp(`^${tag.prefix ?? ''}.*${tag.suffix ?? ''}$`);
if (regex.test(message.content)) {
return;
}
Expand Down

0 comments on commit 118b792

Please sign in to comment.