From 57293cdce9d89331c46ddc59497610295806e92a Mon Sep 17 00:00:00 2001 From: Kai Volland Date: Tue, 25 Jun 2024 14:07:28 +0200 Subject: [PATCH] ci: add discord workflow and remove dependabot --- .github/dependabot.yml | 13 ------------- .github/workflows/notify-discord.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/notify-discord.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index ea7f5dbc..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Basic dependabot.yml file with -# minimum configuration for two package managers - -version: 2 -updates: - # Enable version updates for npm - - package-ecosystem: "npm" - # Look for `package.json` and `lock` files in the `root` directory - directory: "/" - # Check the npm registry for updates every day (weekdays) - schedule: - interval: "daily" - versioning-strategy: increase-if-necessary diff --git a/.github/workflows/notify-discord.yml b/.github/workflows/notify-discord.yml new file mode 100644 index 00000000..9c19de16 --- /dev/null +++ b/.github/workflows/notify-discord.yml @@ -0,0 +1,16 @@ +name: Discord notification + +on: + release: + types: [published] + +jobs: + discord-notification: + runs-on: ubuntu-latest + steps: + - name: Discord notification 📯 + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + uses: Ilshidur/action-discord@0.3.2 + with: + args: '${{ github.event.repository.name }} [${{ github.event.release.tag_name }}](${{ github.event.release.html_url }}) has been released. 🚀'