Skip to content

Commit af6278e

Browse files
authored
[CI] Change on-push-verification job name to "In-tree build / Linux" (#527)
Motivation: use the name as check in "Require status checks to pass". The name should be the same for all branches. Branch-Protection #516
1 parent 655929a commit af6278e

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.github/workflows/on-push-verification.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# to choose correct dependencies revisions
55
# ===---
66

7-
name: On push & pull-request verification
7+
name: In-tree build
88
run-name: '${{ github.event_name }}: ${{ github.base_ref }} ${{ github.ref_name }}' # github.base_ref null for 'on: push'
99

1010
on:
@@ -24,26 +24,8 @@ on:
2424

2525
jobs:
2626

27-
verify_default_branch:
28-
name: Verify for `master` branch
29-
# ref_name for 'on: push'
30-
# base_ref for 'on: pull_request'
31-
if: ${{ (github.event_name == 'push' && github.ref_name == 'master') || (github.event_name == 'pull_request' && github.base_ref == 'master') }}
32-
runs-on: ubuntu-22.04
33-
steps:
34-
35-
- name: Checkout opencl-clang sources for action files
36-
uses: actions/checkout@v3
37-
38-
- name: Run build-opencl-clang action
39-
uses: ./.github/actions/build-opencl-clang
40-
with:
41-
ref_llvm: main
42-
ref_translator: main
43-
ref_opencl-clang: ${{ github.ref }}
44-
4527
verify_release_branch:
46-
name: Verify for `ocl-open-*` release branch
28+
name: Linux
4729
# ref_name for 'on: push'
4830
# base_ref for 'on: pull_request'
4931
if: ${{ github.ref_name != 'master' && github.base_ref != 'master' }}

0 commit comments

Comments
 (0)