Skip to content

Commit 131e7b7

Browse files
committed
incorporate the ci-gh workflow into build-and-test + ensure all workflows have a name
1 parent 8200c9b commit 131e7b7

File tree

3 files changed

+16
-21
lines changed

3 files changed

+16
-21
lines changed

.github/workflows/gh-build-and-test.yml renamed to .github/workflows/build-and-test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
on: workflow_call
1+
name: "CI: Build and test"
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{
5+
github.ref_name == 'main' && format('ci-main-build-test-{0}', github.run_id) ||
6+
format('ci-pr-build-test-on-{0}-against-branch-{1}', github.event_name, github.ref_name)
7+
}}
8+
cancel-in-progress: true
9+
10+
on:
11+
push:
12+
branches:
13+
- "pull-request/[0-9]+"
14+
- "main"
215

316
jobs:
417
build:

.github/workflows/gh-build-docs.yml renamed to .github/workflows/build-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: "CI: Build and update docs"
2+
13
on:
24
workflow_call:
35
inputs:

.github/workflows/ci-gh.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)