Skip to content

Commit

Permalink
Update update-azure-data.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcquade authored Sep 11, 2021
1 parent e8ef075 commit 4215693
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/update-azure-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4215693

Please sign in to comment.