Martin Dimitrov 1f18b78e1b
All checks were successful
Reload Act Runner Stack to clear cache for workflows / diff (push) Successful in 25s
Reload Act Runner Stack to clear cache for workflows / reload-primary (push) Successful in 14s
Reload Act Runner Stack to clear cache for workflows / wait-for-primary-death (push) Successful in 32s
Reload Act Runner Stack to clear cache for workflows / reload-secondary (push) Successful in 3s
Reload Act Runner Stack to clear cache for workflows / wait-for-secondary-death (push) Successful in 31s
Reload Act Runner Stack to clear cache for workflows / pull-cache-secondary (push) Successful in 2s
add submodule strategy
2026-06-30 18:02:43 -07:00

42 lines
1.0 KiB
YAML

name: Diff output
on:
workflow_call:
inputs:
files:
required: true
type: string
repository:
required: false
type: string
default: ${{ github.repository }}
ref:
required: false
type: string
default: ${{ github.ref }}
secrets: []
outputs:
is_changed:
description: "'true' if the input files are changed otherwise 'false'"
value: ${{ jobs.diff.outputs.is_changed }}
jobs:
diff:
runs-on: ubuntu-22.04
outputs:
is_changed: ${{ steps.changed-files-specific.outputs.any_changed }}
steps:
- name: Checkout Code to Diff
uses: actions/checkout@v4
with:
repository: ${{ inputs.repository }}
ref: ${{ inputs.ref }}
token: ${{ github.token }}
- name: Get changed files in the doorman-homeassistant folder
id: changed-files-specific
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47
with:
files: ${{ inputs.files }}