Skip to content

Commit

Permalink
fix: try skip categories in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GangGreenTemperTatum committed Nov 25, 2024
1 parent 0795e84 commit 13dcefb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/validate_robopages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,14 @@ jobs:
docker pull dreadnode/robopages:latest
# Run validation with Docker socket mounted
# Run validation with Docker socket mounted and skip categories validation
docker run --rm \
-v $(pwd):/workspace \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /workspace \
--privileged \
dreadnode/robopages:latest validate --path "$(printf '%q' "$file")" --skip-docker
dreadnode/robopages:latest validate --path "$(printf '%q' "$file")" --skip-docker --skip-categories
}
# Get changed files using GitHub's provided variables
changed_files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | \
grep '\.yml$' | grep -v '^.github/' || true)
Expand Down Expand Up @@ -91,4 +90,4 @@ jobs:
pull_number: context.issue.number,
body: body,
event: 'COMMENT'
});
});

0 comments on commit 13dcefb

Please sign in to comment.