-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,19 @@ jobs: | |
- name: Update the Git submodule with the latest changes from Azure Policies | ||
run: make update-submodule-with-merge | ||
|
||
- name: Pull the updates from the Git submodule | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
cd cloud_guardrails/shared/azure-policy | ||
current_commit=$(git rev-parse --short HEAD) | ||
echo "current commit for Azure Policy repo: $current_commit" | ||
git pull origin master | ||
latest_commit=$(git rev-parse --short HEAD) | ||
echo "latest commit for Azure Policy repo: $current_commit" | ||
cd ../../../ | ||
echo "This should update Azure Policy submodule from ${current_commit} ${latest_commit}" | ||
- name: Update IAM Definition | ||
run: make update-iam-definition | ||
|
||
|