mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Cleanup workflows
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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 }}
|
||||
|
||||
2
.github/workflows/hotfix.yml
vendored
2
.github/workflows/hotfix.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "Hotfix integration"
|
||||
name: "Hotfix"
|
||||
|
||||
on:
|
||||
pull_request_review:
|
||||
|
||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: 'Lint formatting'
|
||||
name: 'Lint'
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "Release integration"
|
||||
name: 'Release'
|
||||
|
||||
on:
|
||||
pull_request_review:
|
||||
|
||||
@@ -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
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user