Closed benbridts closed 3 months ago
Thanks for this @benbridts will take a look at this and fiddle with the path issue you are having :)
Thanks for the nudge @benbridts - new version available here: https://github.com/aws-cloudformation/cloudformation-guard/releases/tag/action-v0.0.5
I had the issue that the github action would not recurse into the given
data
directory.This PR solves that, and applies the same fix to the
rules
directory.Notes:
guard/ts-lib/index.ts
andaction/package.json
. Other changes are from runningnpm run build:typescript
andnpm run package
..path
seems tricky, it compiles and works for me, but is also maybe marked ad deprecated in nodejs 22 (https://nodejs.org/api/fs.html#class-fsdirent), using parentPath failed for me (and I don't know enough js/ts to debug)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license