Skip to content

Commit

Permalink
[CI] Change verify_default_branch job name to "In-tree build"
Browse files Browse the repository at this point in the history
Motivation: use the name as check in "Require status checks to pass".
The name should be the same for all branches.
  • Loading branch information
wenju-he committed May 29, 2024
1 parent 157afd8 commit 816c809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/on-push-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:
jobs:

verify_default_branch:
name: Verify for `main` branch
name: In-tree build
# ref_name for 'on: push'
# base_ref for 'on: pull_request'
if: ${{ (github.event_name == 'push' && github.ref_name == 'main') || (github.event_name == 'pull_request' && github.base_ref == 'main') }}
Expand Down

0 comments on commit 816c809

Please sign in to comment.