Skip to content

Commit 300714f

Browse files
committed
MINOR: tweak log messaging
1 parent e615365 commit 300714f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@ jobs:
3131
# Runs a set of commands using the runners shell
3232
- name: Run a multi-line script
3333
run: |
34+
export
35+
git show-ref
3436
git clone -b git_envs https://github.com/aiharos/github-actions.git
3537
cd github-actions/check-commit; go run check.go "../../."

check-commit/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func LoadCommitPolicy(filename string) (CommitPolicyConfig, error) {
242242
var config string
243243

244244
if data, err := ioutil.ReadFile(filename); err != nil {
245-
log.Printf("error reading config (%s), using built-in fallback configuration (HAProxy defaults)", err)
245+
log.Printf("warning: using built-in fallback configuration with HAProxy defaults (%s)", err)
246246

247247
config = defaultConf
248248
} else {

0 commit comments

Comments
 (0)