Skip to content

Commit

Permalink
chore: refine ci (#703)
Browse files Browse the repository at this point in the history
* chore: refine ci

Signed-off-by: MrCroxx <[email protected]>

* trigger cancel

* chore: rename ci workload file name

Signed-off-by: MrCroxx <[email protected]>

* chore: enable ci on forks and rc

Signed-off-by: MrCroxx <[email protected]>

---------

Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx authored Sep 11, 2024
1 parent fae8652 commit 10c3953
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 747 deletions.
37 changes: 0 additions & 37 deletions .github/template/generate.sh

This file was deleted.

6 changes: 0 additions & 6 deletions .github/template/main-override.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/template/pr-override.yml

This file was deleted.

17 changes: 13 additions & 4 deletions .github/template/template.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
name:
name: "CI"

on:
push:
branches:
- "main"
- "forks/*"
pull_request:
branches:
- "main"
- "v*.*.*-rc"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
RUST_TOOLCHAIN_NIGHTLY: nightly-2024-07-19
Expand All @@ -25,9 +37,6 @@ jobs:
BUF_VERSION: 1.0.0-rc6
- name: Install jq
uses: dcarbone/[email protected]
- name: Check if CI workflows are up-to-date
run: |
./.github/template/generate.sh --check
- name: Check if Grafana dashboards are minimized
run: |
./scripts/minimize-dashboards.sh --check
Expand Down
Loading

0 comments on commit 10c3953

Please sign in to comment.