diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 9a8af8a3..9b15e8f4 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -4,10 +4,6 @@ on: branches: - master -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - permissions: contents: write deployments: write diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml deleted file mode 100644 index 9fbb8fdf..00000000 --- a/.github/workflows/discord.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: - release: - types: [released] - -jobs: - github-releases-to-discord: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Github Releases To Discord - uses: sillyangel/releases-to-discord@v1.0.0 - with: - webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }} - color: "2105893" - username: "Release Changelog" - avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9b76089..4ee72c3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,10 +4,6 @@ permissions: pull-requests: write contents: write -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: false - on: push: branches: @@ -34,3 +30,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} GITHUB_REPO: ${{ github.repository }} + - name: Github Releases To Discord + uses: sillyangel/releases-to-discord@v1.0.0 + with: + webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }} + color: "2105893" + username: "Release Changelog" + avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"