Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtered GitHub webhooks #1018

Merged
merged 7 commits into from
Sep 18, 2022
Merged

Conversation

tsickert
Copy link
Contributor

@tsickert tsickert commented Sep 8, 2022

Second attempt at filtering GitHub webhooks. This correctly filters out dependabot PRs, truncates long bodies (discord will fail the request if the body is too long).

Additionally, we're not trying to pass on the GitHub Webhook event body anymore, instead we're manually entering the embed fields. Due to this, DISCORD_WEBHOOK_URL should be updated to use the base Discord webhook URL.

Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 pedantic request, 1 feature request for tsickert/discord-webhook v5.2

.github/workflows/filtered_github_webhooks.yml Outdated Show resolved Hide resolved
.github/workflows/filtered_github_webhooks.yml Outdated Show resolved Hide resolved
@tsickert tsickert marked this pull request as ready for review September 18, 2022 15:39
@markphelps markphelps merged commit 71e3026 into flipt-io:main Sep 18, 2022
markphelps added a commit that referenced this pull request Sep 22, 2022
* main:
  Update Changelog
  Bump sass from 1.54.9 to 1.55.0 in /ui (#1040)
  Bump @playwright/test from 1.25.2 to 1.26.0 in /ui (#1039)
  Bump eslint from 8.23.0 to 8.23.1 in /ui (#1037)
  Bump eslint-plugin-vue from 9.4.0 to 9.5.1 in /ui (#1034)
  Bump @babel/preset-env from 7.19.0 to 7.19.1 in /ui (#1033)
  Bump @babel/core from 7.19.0 to 7.19.1 in /ui (#1032)
  Fix clone icons (#1038)
  Bump buefy from 0.9.21 to 0.9.22 in /ui (#1022)
  Mv config internal (#1036)
  Filtered GitHub webhooks (#1018)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants