diff --git a/.github/workflows/github-releases-to-discord.yml b/.github/workflows/github-releases-to-discord.yml new file mode 100644 index 00000000..e483fed2 --- /dev/null +++ b/.github/workflows/github-releases-to-discord.yml @@ -0,0 +1,22 @@ +name: GitHub Releases To Discord +on: + release: + types: [published] + +jobs: + github-releases-to-discord: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Github Releases To Discord + uses: SethCohen/github-releases-to-discord@v1.13.1 + with: + webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }} + color: "2105893" + username: "Release Changelog" + avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" + content: "||@everyone||" + footer_title: "Changelog" + footer_icon_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" + footer_timestamp: true diff --git a/LangChain.sln b/LangChain.sln index 2da7ea17..7bcec359 100644 --- a/LangChain.sln +++ b/LangChain.sln @@ -142,6 +142,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{ .github\workflows\pull-request.yml = .github\workflows\pull-request.yml .github\dependabot.yml = .github\dependabot.yml .github\workflows\dotnet.yml = .github\workflows\dotnet.yml + .github\workflows\github-releases-to-discord.yml = .github\workflows\github-releases-to-discord.yml EndProjectSection EndProject Global