Skip to content

Commit 3b0f298

Browse files
authored
[CI] Change on-push-verification job name to "In-tree build" (#522)
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 0a2b098 commit 3b0f298

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

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

Lines changed: 2 additions & 21 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,29 +24,10 @@ 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'
49-
if: ${{ github.ref_name != 'master' && github.base_ref != 'master' }}
5031
runs-on: ubuntu-22.04
5132
steps:
5233

0 commit comments

Comments
 (0)