Skip to content

Commit

Permalink
add perms
Browse files Browse the repository at this point in the history
  • Loading branch information
atheeshp committed Feb 15, 2024
1 parent fac4fca commit 36a17e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
defaults:
run:
shell: bash
permissions:
contents: write
packages: read
checks: write


jobs:
Expand Down
2 changes: 0 additions & 2 deletions make/proto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ proto-all: proto-gen proto-swagger-gen

proto-gen:
@echo "Generating Protobuf files"
# to resolve permission issues
find . -type d -exec chmod 777 {} +
@$(protoImage) sh ./scripts/protocgen.sh;
go mod tidy
cd api
Expand Down
5 changes: 1 addition & 4 deletions scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ for proto_dir in $proto_dirs; do
done
done

cd ..

# to resolve permission issues
find . -type d -exec chmod 777 {} +
cd ..


# move proto files to the right places
Expand Down

0 comments on commit 36a17e3

Please sign in to comment.