Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 47 additions & 47 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,55 +4,55 @@ on:
push:
branches: [main]
paths:
- ".github/**"
- ".github/workflows/**"
- ".trunk/**"
- "AGENTS.md"
- "CHANGELOG.md"
- "Dockerfile"
- "README.md"
- "SECURITY.md"
- "SUPPORT.md"
- "assets/**"
- "cliff.toml"
- "components.toml"
- "components/**"
- "docs/**"
- "docs/upstream/**"
- "pyproject.toml"
- "renovate.json"
- "requirements-dev.txt"
- "rootfs/**"
- "scripts/**"
- "template-aio.xml"
- "tests/**"
- "upstream.toml"
- .github/**
- .github/workflows/**
- .trunk/**
- AGENTS.md
- CHANGELOG.md
- Dockerfile
- README.md
- SECURITY.md
- SUPPORT.md
- assets/**
- cliff.toml
- components.toml
- components/**
- docs/**
- docs/upstream/**
- pyproject.toml
- renovate.json
- requirements-dev.txt
- rootfs/**
- scripts/**
- template-aio.xml
- tests/**
- upstream.toml
pull_request:
branches: [main]
paths:
- ".github/**"
- ".github/workflows/**"
- ".trunk/**"
- "AGENTS.md"
- "CHANGELOG.md"
- "Dockerfile"
- "README.md"
- "SECURITY.md"
- "SUPPORT.md"
- "assets/**"
- "cliff.toml"
- "components.toml"
- "components/**"
- "docs/**"
- "docs/upstream/**"
- "pyproject.toml"
- "renovate.json"
- "requirements-dev.txt"
- "rootfs/**"
- "scripts/**"
- "template-aio.xml"
- "tests/**"
- "upstream.toml"
- .github/**
- .github/workflows/**
- .trunk/**
- AGENTS.md
- CHANGELOG.md
- Dockerfile
- README.md
- SECURITY.md
- SUPPORT.md
- assets/**
- cliff.toml
- components.toml
- components/**
- docs/**
- docs/upstream/**
- pyproject.toml
- renovate.json
- requirements-dev.txt
- rootfs/**
- scripts/**
- template-aio.xml
- tests/**
- upstream.toml
workflow_dispatch:

permissions:
Expand All @@ -64,7 +64,7 @@ concurrency:

jobs:
aio-build:
uses: JSONbored/aio-fleet/.github/workflows/aio-build.yml@388300f0f98701ea81bd8185660257d06cd8f472
uses: JSONbored/aio-fleet/.github/workflows/aio-build.yml@4aea17371db2faf5ba759cda63b4f46aac514162
permissions:
contents: read
packages: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check Upstream Version

on:
schedule:
- cron: "23 7 * * 1"
- cron: 23 7 * * 1
workflow_dispatch:

permissions:
Expand All @@ -14,7 +14,7 @@ concurrency:

jobs:
check-upstream:
uses: JSONbored/aio-fleet/.github/workflows/aio-check-upstream.yml@388300f0f98701ea81bd8185660257d06cd8f472
uses: JSONbored/aio-fleet/.github/workflows/aio-check-upstream.yml@4aea17371db2faf5ba759cda63b4f46aac514162
permissions:
contents: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

jobs:
publish-release:
uses: JSONbored/aio-fleet/.github/workflows/aio-publish-release.yml@388300f0f98701ea81bd8185660257d06cd8f472
uses: JSONbored/aio-fleet/.github/workflows/aio-publish-release.yml@4aea17371db2faf5ba759cda63b4f46aac514162
permissions:
actions: read
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

jobs:
prepare-release:
uses: JSONbored/aio-fleet/.github/workflows/aio-prepare-release.yml@388300f0f98701ea81bd8185660257d06cd8f472
uses: JSONbored/aio-fleet/.github/workflows/aio-prepare-release.yml@4aea17371db2faf5ba759cda63b4f46aac514162
permissions:
contents: write
pull-requests: write
Expand Down
2 changes: 2 additions & 0 deletions .trunk/configs/.markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Prettier friendly markdownlint config (all formatting rules disabled)
extends: markdownlint/style/prettier
MD024:
siblings_only: true
1 change: 0 additions & 1 deletion .trunk/configs/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
enable=all
source-path=SCRIPTDIR
disable=SC2154

# If you're having issues with shellcheck following source, disable the errors via:
# disable=SC1090
Expand Down
8 changes: 6 additions & 2 deletions scripts/validate-derived-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [[ ${strict_placeholders} == "true" ]]; then
args+=(--strict-placeholders)
fi

if python3 -c "import aio_fleet" >/dev/null 2>&1; then
if python3 -c "import aio_fleet.cli" >/dev/null 2>&1; then
exec python3 -m aio_fleet.cli "${args[@]}"
fi

Expand All @@ -27,7 +27,11 @@ candidate_roots+=(

for candidate in "${candidate_roots[@]}"; do
if [[ -d ${candidate}/src/aio_fleet ]]; then
PYTHONPATH="${candidate}/src${PYTHONPATH:+:${PYTHONPATH}}" exec python3 -m aio_fleet.cli "${args[@]}"
python_bin="python3"
if [[ -x ${candidate}/.venv/bin/python ]]; then
python_bin="${candidate}/.venv/bin/python"
fi
PYTHONPATH="${candidate}/src${PYTHONPATH:+:${PYTHONPATH}}" exec "${python_bin}" -m aio_fleet.cli "${args[@]}"
fi
done

Expand Down
Loading