Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
uses: actions/checkout@v6
- name: Invoke Build.ps1 with PowerShell Core
shell: pwsh
run: ./Build.ps1
- name: Push
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
shell: pwsh
run: |
dotnet nuget push (get-item ./artifacts/*.nupkg).FullName --api-key="$env:NUGET_API_KEY" -s https://api.nuget.org/v3/index.json
Expand Down
2 changes: 1 addition & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $ref = $env:GITHUB_REF ?? ""
$run = $env:GITHUB_RUN_NUMBER ?? "0"
$branch = @{ $true = $ref.Substring($ref.LastIndexOf("/") + 1); $false = $(git symbolic-ref --short -q HEAD) }[$ref -ne ""];
$revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $run, 10); $false = "local" }[$run -ne "0"];
$suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"]
$suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "main" -and $revision -ne "local"]

echo "build: Version suffix is $suffix"

Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# Seq.App.Slack [![NuGet](https://img.shields.io/nuget/v/Seq.App.Slack.svg?style=flat-square)](https://www.nuget.org/packages/Seq.App.Slack/)

An app for [Seq](https://datalust.co/seq) that forwards messages to [Slack](https://slack.com).
Send events and notifications from [Seq](https://datalust.co/seq) to [Slack](https://slack.com).

### Getting started
## Getting started

1. Install the app into Seq through the Seq UI: _Settings_ > _Apps_ > _Install from NuGet_; the package id is _Seq.App.Slack_
2. In Slack, select _Admin_ > _Apps and Workflows_ > _Build_ > _Create new App_ > _From Scratch_
3. In the app registration, choose _Incoming WebHooks_ (this is the new endpoint, not the legacy one)
4. Add a new incoming webhook configuration and copy the _Webhook URL_
3. In the app registration, choose _Incoming Webhooks_ (this is the new endpoint, not the legacy one)
4. Add a new incoming webhook configuration and copy the webhook URL
5. Back in Seq, under _Settings_ > _Apps_, select _Add Instance_ next to the Slack app icon
6. Configure the app instance, providing the webhook URL

Consult the Seq documentation for further information about [installing Seq apps](https://docs.datalust.co/docs/installing-seq-apps).

For more information see [Notifying with Slack](https://docs.datalust.co/docs/slack-notifications).

## Acknowledgements

Originally developed, and co-maintained by, https://github.com/bytenik.
File renamed without changes.
7 changes: 7 additions & 0 deletions seq-app-slack.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=bytenik/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=mrkdwn/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Preformatted/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=serilog/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=suppressions/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Webhook/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
8 changes: 5 additions & 3 deletions src/Seq.App.Slack/Seq.App.Slack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<TargetFramework>net8.0</TargetFramework>
<VersionPrefix>2.0.0</VersionPrefix>
<Description>An app for Seq that forwards events and notifications to Slack.</Description>
<Authors>bytenik</Authors>
<Authors>bytenik, Datalust, and Contributors</Authors>
<PackageTags>seq-app</PackageTags>
<PackageProjectUrl>https://github.com/bytenik/Seq.App.Slack</PackageProjectUrl>
<RepositoryUrl>https://github.com/bytenik/Seq.App.Slack</RepositoryUrl>
<PackageProjectUrl>https://github.com/datalust/seq-app-slack</PackageProjectUrl>
<RepositoryUrl>https://github.com/datalust/seq-app-slack</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<TreatSpecificWarningsAsErrors />
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>seq-app-slack.png</PackageIcon>
</PropertyGroup>

Expand All @@ -22,6 +23,7 @@

<ItemGroup>
<None Include="../../LICENSE" Pack="true" PackagePath="" />
<None Include="../../README.md" Pack="true" PackagePath="" />
<None Include="../../asset/seq-app-slack.png" Pack="true" PackagePath="" />
<None Include="./obj/publish/**/*" Exclude="./obj/publish/$(MSBuildProjectName).dll;./obj/publish/Seq.Apps.dll;./obj/publish/Serilog.dll" Pack="true" PackagePath="lib/$(TargetFramework)" />
</ItemGroup>
Expand Down