Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Sep 22, 2023
1 parent 03cade8 commit 5883b24
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/linter-default.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
---
name: Reusable Workflow - Super Linter - Default

on: # https://docs.github.com/en/actions/using-workflows/reusing-workflows
workflow_call:
inputs:
timezone:
description: 'The timezone, defaults to `Asia/Shanghai`'
type: string
required: false
default: 'Asia/Shanghai'
runs-on:
description: 'The jobs.<job_id>.runs-on, defaults to `ubuntu-latest`'
type: string
required: false
default: 'ubuntu-latest'
env:
TZ: ${{ inputs.timezone }}

#env:
# TZ: Asia/Shanghai
jobs:
reusable-linter-default:
name: Reusable Workflow - Super Linter - Default
runs-on: [ubuntu-latest]
runs-on: [${{ inputs.runs-on }}]

permissions:
contents: read
Expand Down

0 comments on commit 5883b24

Please sign in to comment.