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
14 changes: 0 additions & 14 deletions .github/actions/prepare-workspace/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,6 @@ runs:
cp -r "${SRC}/${dir}/." "${DEST}${dir}/"
fi
done
CUSTOM_BASE="customized"
if [[ "${INSTALL_MODE}" == "per-repo" ]]; then
CUSTOM_BASE=".fullsend/customized"
fi
Comment thread
qodo-code-review[bot] marked this conversation as resolved.
Resolved
for dir in ${LAYERED_DIRS}; do
if [[ -d "${CUSTOM_BASE}/${dir}" ]]; then
find "${CUSTOM_BASE}/${dir}" -type f ! -name '.gitkeep' -print0 \
| while IFS= read -r -d '' f; do
rel="${f#"${CUSTOM_BASE}"/}"
mkdir -p "$(dirname "${DEST}${rel}")"
cp "${f}" "${DEST}${rel}"
done
fi
done
mkdir -p .github/scripts
cp "${SRC}/.github/scripts/setup-agent-env.sh" .github/scripts/setup-agent-env.sh

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/reusable-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,6 @@ jobs:
cp -r "${SRC}/${dir}/." "${DEST}${dir}/"
fi
done
CUSTOM_BASE="customized"
if [[ "${INSTALL_MODE}" == "per-repo" ]]; then
CUSTOM_BASE=".fullsend/customized"
fi
for dir in ${LAYERED_DIRS}; do
if [[ -d "${CUSTOM_BASE}/${dir}" ]]; then
find "${CUSTOM_BASE}/${dir}" -type f ! -name '.gitkeep' -print0 \
| while IFS= read -r -d '' f; do
rel="${f#"${CUSTOM_BASE}"/}"
mkdir -p "$(dirname "${DEST}${rel}")"
cp "${f}" "${DEST}${rel}"
done
fi
done
mkdir -p .github/scripts
cp "${SRC}/.github/scripts/setup-agent-env.sh" .github/scripts/setup-agent-env.sh

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/reusable-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,20 +129,6 @@ jobs:
cp -r "${SRC}/${dir}/." "${DEST}${dir}/"
fi
done
CUSTOM_BASE="customized"
if [[ "${INSTALL_MODE}" == "per-repo" ]]; then
CUSTOM_BASE=".fullsend/customized"
fi
for dir in ${LAYERED_DIRS}; do
if [[ -d "${CUSTOM_BASE}/${dir}" ]]; then
find "${CUSTOM_BASE}/${dir}" -type f ! -name '.gitkeep' -print0 \
| while IFS= read -r -d '' f; do
rel="${f#"${CUSTOM_BASE}"/}"
mkdir -p "$(dirname "${DEST}${rel}")"
cp "${f}" "${DEST}${rel}"
done
fi
done
mkdir -p .github/scripts
cp "${SRC}/.github/scripts/setup-agent-env.sh" .github/scripts/setup-agent-env.sh

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/reusable-prioritize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,6 @@ jobs:
cp -r "${SRC}/${dir}/." "${DEST}${dir}/"
fi
done
CUSTOM_BASE="customized"
if [[ "${INSTALL_MODE}" == "per-repo" ]]; then
CUSTOM_BASE=".fullsend/customized"
fi
for dir in ${LAYERED_DIRS}; do
if [[ -d "${CUSTOM_BASE}/${dir}" ]]; then
find "${CUSTOM_BASE}/${dir}" -type f ! -name '.gitkeep' -print0 \
| while IFS= read -r -d '' f; do
rel="${f#"${CUSTOM_BASE}"/}"
mkdir -p "$(dirname "${DEST}${rel}")"
cp "${f}" "${DEST}${rel}"
done
fi
done
mkdir -p .github/scripts
cp "${SRC}/.github/scripts/setup-agent-env.sh" .github/scripts/setup-agent-env.sh

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/reusable-retro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,6 @@ jobs:
cp -r "${SRC}/${dir}/." "${DEST}${dir}/"
fi
done
CUSTOM_BASE="customized"
if [[ "${INSTALL_MODE}" == "per-repo" ]]; then
CUSTOM_BASE=".fullsend/customized"
fi
for dir in ${LAYERED_DIRS}; do
if [[ -d "${CUSTOM_BASE}/${dir}" ]]; then
find "${CUSTOM_BASE}/${dir}" -type f ! -name '.gitkeep' -print0 \
| while IFS= read -r -d '' f; do
rel="${f#"${CUSTOM_BASE}"/}"
mkdir -p "$(dirname "${DEST}${rel}")"
cp "${f}" "${DEST}${rel}"
done
fi
done
mkdir -p .github/scripts
cp "${SRC}/.github/scripts/setup-agent-env.sh" .github/scripts/setup-agent-env.sh

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/reusable-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,6 @@ jobs:
cp -r "${SRC}/${dir}/." "${DEST}${dir}/"
fi
done
CUSTOM_BASE="customized"
if [[ "${INSTALL_MODE}" == "per-repo" ]]; then
CUSTOM_BASE=".fullsend/customized"
fi
for dir in ${LAYERED_DIRS}; do
if [[ -d "${CUSTOM_BASE}/${dir}" ]]; then
find "${CUSTOM_BASE}/${dir}" -type f ! -name '.gitkeep' -print0 \
| while IFS= read -r -d '' f; do
rel="${f#"${CUSTOM_BASE}"/}"
mkdir -p "$(dirname "${DEST}${rel}")"
cp "${f}" "${DEST}${rel}"
done
fi
done
mkdir -p .github/scripts
cp "${SRC}/.github/scripts/setup-agent-env.sh" .github/scripts/setup-agent-env.sh

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/reusable-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,6 @@ jobs:
cp -r "${SRC}/${dir}/." "${DEST}${dir}/"
fi
done
CUSTOM_BASE="customized"
if [[ "${INSTALL_MODE}" == "per-repo" ]]; then
CUSTOM_BASE=".fullsend/customized"
fi
for dir in ${LAYERED_DIRS}; do
if [[ -d "${CUSTOM_BASE}/${dir}" ]]; then
find "${CUSTOM_BASE}/${dir}" -type f ! -name '.gitkeep' -print0 \
| while IFS= read -r -d '' f; do
rel="${f#"${CUSTOM_BASE}"/}"
mkdir -p "$(dirname "${DEST}${rel}")"
cp "${f}" "${DEST}${rel}"
done
fi
done
mkdir -p .github/scripts
cp "${SRC}/.github/scripts/setup-agent-env.sh" .github/scripts/setup-agent-env.sh

Expand Down
5 changes: 3 additions & 2 deletions docs/plans/deprecate-customized-directory-overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ logs. No behavioral change.

---

## PR 2: Remove overlay loop from reusable workflows
## PR 2: Remove overlay loop from reusable workflows *(done — PR #5836)*
Comment thread
ggallen marked this conversation as resolved.
Resolved

**Scope:** Remove the `CUSTOM_BASE` overlay from all 6 reusable
workflows.
workflows, the `prepare-workspace` composite action, and the scaffold
`repo-maintenance.yml` template.

**`.github/workflows/reusable-triage.yml` (~lines 100–113):**
**`.github/workflows/reusable-code.yml` (~lines 102–113):**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ jobs:
set -euo pipefail
mkdir -p scripts
cp -r ".defaults/internal/scaffold/fullsend-repo/scripts/." scripts/
if [[ -d "customized/scripts" ]]; then
find "customized/scripts" -type f ! -name '.gitkeep' -print0 \
| while IFS= read -r -d '' f; do
rel="${f#customized/}"
Comment thread
qodo-code-review[bot] marked this conversation as resolved.
Resolved
mkdir -p "$(dirname "${rel}")"
cp "${f}" "${rel}"
done
fi
rm -rf .defaults

- name: Mint fullsend token
Expand Down
3 changes: 2 additions & 1 deletion internal/scaffold/scaffold_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,8 @@ func TestRepoMaintenanceWorkflowContent(t *testing.T) {
assert.Contains(t, s, "fullsend-ai/fullsend/.github/actions/mint-token@__FULLSEND_AI_REF__")
assert.Contains(t, s, "Checkout upstream scripts")
assert.Contains(t, s, "Prepare scripts")
assert.Contains(t, s, "customized/scripts")
assert.NotContains(t, s, "customized/scripts",
"customized/ overlay removed per ADR-0064")
assert.Contains(t, s, "role: fullsend")
assert.Contains(t, s, "id-token: write")
assert.NotContains(t, s, "create-github-app-token")
Expand Down
Loading