Cleanup workflows

This commit is contained in:
Willy-JL
2023-04-22 09:25:53 +01:00
parent c07c06aba8
commit 4a6d5c4f9d
8 changed files with 19 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
name: 'Build artifact'
name: 'Build'
on:
push:
@@ -41,7 +41,7 @@ jobs:
with:
name: updater
path: |
dist/${{ env.DEFAULT_TARGET }}-*
dist/${{ env.DEFAULT_TARGET }}-*/${{ env.DEFAULT_TARGET }}-update-*/
# - name: 'Find Previous Comment'
# if: ${{ github.event.pull_request }}

View File

@@ -1,4 +1,4 @@
name: "Hotfix integration"
name: "Hotfix"
on:
pull_request_review:

View File

@@ -1,4 +1,4 @@
name: 'Lint formatting'
name: 'Lint'
on:
push:

View File

@@ -1,4 +1,4 @@
name: "Release integration"
name: 'Release'
on:
pull_request_review:

View File

@@ -1,4 +1,4 @@
name: 'SonarCloud analysis'
name: 'SonarCloud'
on:
workflow_dispatch:
@@ -10,7 +10,7 @@ env:
DEFAULT_TARGET: f7
jobs:
analyze:
sonarcloud:
runs-on: ubuntu-latest
env:
SONAR_SCANNER_VERSION: 4.7.0.2747

View File

@@ -1,4 +1,4 @@
name: 'Check submodules'
name: 'Submodules'
on:
push:
@@ -10,7 +10,7 @@ on:
pull_request:
jobs:
check_protobuf:
submodules:
runs-on: ubuntu-latest
steps:

View File

@@ -1,4 +1,4 @@
name: Discord webhook
name: 'Webhook'
on:
push:
@@ -11,6 +11,14 @@ on:
types:
- "published"
workflow_run:
workflows:
- "Build"
- "Hotfix"
- "Lint"
- "Release"
- "SonarCloud"
- "Submodules"
- "Webhook"
types:
- "completed"
issues:
@@ -33,4 +41,4 @@ jobs:
- name: Send webhook
env:
DEV_WEBHOOK: "https://discord.com/api/webhooks/${{ secrets.DEV_WEBHOOK_ID }}/${{ secrets.DEV_WEBHOOK_TOKEN }}"
run: python .github/workflow_data/discord.py
run: python .github/workflow_data/webhook.py