Skip to content

Commit

Permalink
fix(ci): Fix concurrency conflict and trigger discord right after (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv authored Sep 23, 2024
1 parent afce14e commit 530dcd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 25 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/discord.yml

This file was deleted.

11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/[email protected]
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
color: "2105893"
username: "Release Changelog"
avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"

0 comments on commit 530dcd8

Please sign in to comment.