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
4 changes: 2 additions & 2 deletions .forceignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ package.xml
**/__tests__/**

# Unrelated Metadata
force-app/main/default/objectTranslations/**
force-app/main/default/profiles/**
source/objectTranslations/**
source/profiles/**
4 changes: 2 additions & 2 deletions .github/scripts/static_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def define_args():
help="Path that the formatted .md summary will be saved to",
default="static_analysis_summary.md",
)
parser.add_argument("--target", help="The directory to scan", default="force-app/")
parser.add_argument("--target", help="The directory to scan", default="source/")
parser.add_argument(
"--threshold",
help="Defines the severity threshold of violations that are allowed w/out failure",
Expand All @@ -112,7 +112,7 @@ def get_sfca_violation_location(violation):
locations = []
for l in violation.get("locations", []):
# Note: Omit everything before the actual working directory:
path = "force-app/" + l.get("file").split("force-app/", 1)[-1]
path = "source/" + l.get("file").split("source/", 1)[-1]
start_line = l.get("startLine", "?")
start_col = l.get("startColumn", "?")
loc = f"{path}:{start_line}:{start_col}"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- "force-app/**"
- "source/**"
types: [opened, ready_for_review, reopened, synchronize]

concurrency:
Expand All @@ -32,6 +32,7 @@ permissions:
jobs:
claude-review:
name: Claude Code Review
if: ${{ '! github.event.pull_request.draft' }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -79,7 +80,7 @@ jobs:
# Ensure this check only runs against changed files in the current PR; not the entire codebase
set -euo pipefail
mkdir "$CHANGES_DIR"
sf sgd source delta --generate-delta --from "HEAD^" --to "HEAD" --output-dir "$CHANGES_DIR"/ --source-dir "force-app/"
sf sgd source delta --generate-delta --from "HEAD^" --to "HEAD" --output-dir "$CHANGES_DIR"/ --source-dir "source/"
echo "Changed files:"
ls "$CHANGES_DIR"

Expand Down Expand Up @@ -194,7 +195,7 @@ jobs:
--coverage-formatters json-summary \
--dry-run \
--ignore-conflicts \
--source-dir force-app \
--source-dir source \
--test-level RunLocalTests \
--verbose \
--wait 30
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- force-app
- "source/**"
workflow_dispatch:
inputs:
version:
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ $RECYCLE.BIN/
.vscode/settings.json

# Unrelated Metadata
force-app/main/default/objectTranslations/**
force-app/main/default/profiles/**
source/objectTranslations/**
source/profiles/**

# Agents
CLAUDE.md
2 changes: 1 addition & 1 deletion packages/managed/sfdx-project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packageDirectories": [
{
"path": "force-app",
"path": "source",
"default": true,
"package": "apex-database-layer-managed",
"versionName": "v3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/unlocked/sfdx-project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packageDirectories": [
{
"path": "force-app",
"path": "source",
"default": true,
"package": "apex-database-layer-unlocked",
"versionName": "v3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion sfdx-project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packageDirectories": [
{
"path": "force-app",
"path": "source",
"default": true,
"versionName": "v3.1.0",
"versionNumber": "3.1.0.NEXT"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.