Honor header: false to disable file header updates (#900)
This commit is contained in:
+2
-2
@@ -65,7 +65,7 @@ inputs:
|
||||
header:
|
||||
description: "File header"
|
||||
required: false
|
||||
default: ""
|
||||
default: "true"
|
||||
brave_api_key:
|
||||
description: "Brave API Key"
|
||||
required: false
|
||||
@@ -145,7 +145,7 @@ runs:
|
||||
|
||||
# File header ------------------------------------------------------------------------------------------------------
|
||||
- name: File Header
|
||||
if: github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'synchronize')
|
||||
if: inputs.header != 'false' && github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'synchronize')
|
||||
env:
|
||||
HEADER: ${{ inputs.header }}
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user