Skip to content

Commit cca6f80

Browse files
authored
Update Github action for main branch (#394)
1 parent 1cd6eca commit cca6f80

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
ref_opencl-clang:
2020
description: 'opencl-clang ref to build with'
2121
required: true
22-
default: master
22+
default: main
2323
build_type:
2424
description: 'Build type to pass to CMake'
2525
required: true

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ run-name: '${{ github.event_name }}: ${{ github.base_ref }} ${{ github.ref_name
1010
on:
1111
push:
1212
branches:
13-
- master
13+
- main
1414
- ocl-open-*
1515
pull_request:
1616
branches:
17-
- master
17+
- main
1818
- ocl-open-*
1919
types:
2020
- opened
@@ -25,10 +25,10 @@ on:
2525
jobs:
2626

2727
verify_default_branch:
28-
name: Verify for `master` branch
28+
name: Verify for `main` branch
2929
# ref_name for 'on: push'
3030
# 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') }}
31+
if: ${{ (github.event_name == 'push' && github.ref_name == 'main') || (github.event_name == 'pull_request' && github.base_ref == 'main') }}
3232
runs-on: ubuntu-22.04
3333
steps:
3434

@@ -46,7 +46,7 @@ jobs:
4646
name: Verify for `ocl-open-*` release branch
4747
# ref_name for 'on: push'
4848
# base_ref for 'on: pull_request'
49-
if: ${{ github.ref_name != 'master' && github.base_ref != 'master' }}
49+
if: ${{ github.ref_name != 'main' && github.base_ref != 'main' }}
5050
runs-on: ubuntu-22.04
5151
steps:
5252

.github/workflows/scheduled-verification.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414

1515
verify-default-branches:
16-
name: Verify `master` branch
16+
name: Verify `main` branch
1717
runs-on: ubuntu-22.04
1818
steps:
1919

@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
ref_llvm: main
2727
ref_translator: main
28-
ref_opencl-clang: master
28+
ref_opencl-clang: main
2929

3030
verify-release-branches:
3131
name: Verify `ocl-open-*` release branches

0 commit comments

Comments
 (0)