mirror of
https://github.com/twentyhq/twenty.git
synced 2026-06-11 17:37:18 -04:00
- Pin all third-party actions to SHA - Gate claude.yml triggers to internal authors with Harden-Runner egress audit - Ignore fork-PR lifecycle scripts - Narrow cross-repo dispatch payloads - Add 7d npm release-age gate - Add CODEOWNERS on .github/** and .yarnrc.yml --------- Co-authored-by: prastoin <paul@twenty.com>
32 lines
809 B
YAML
32 lines
809 B
YAML
name: Changed files reusable workflow
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
files:
|
|
required: true
|
|
type: string
|
|
outputs:
|
|
any_changed:
|
|
value: ${{ jobs.changed-files.outputs.any_changed }}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
changed-files:
|
|
timeout-minutes: 5
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
any_changed: ${{ steps.changed-files.outputs.any_changed }}
|
|
steps:
|
|
- name: Fetch custom Github Actions and base branch history
|
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
|
with:
|
|
fetch-depth: 10
|
|
- name: Check for changed files
|
|
id: changed-files
|
|
uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c # v45.0.9
|
|
with:
|
|
files: ${{ inputs.files }}
|