Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanthreddy29 committed Mar 5, 2024
1 parent cbcfaa0 commit fbd461c
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/get-changed-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Changed files

on:
push:
branches:
- Optimize-GH-CI-Workflow

jobs:
setup-matrix:
runs-on: ubuntu-latest
name: Setup test matrix scenarios
steps:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
2 changes: 1 addition & 1 deletion modules/terraform/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ popd
### References
- [Terraform AWS Provider](https://www.terraform.io/docs/providers/aws/index.html)
- [AWS CLI](https://docs.aws.amazon.com/cli/latest/)
- [AWS Console](https://aws.amazon.com/console/)
- [AWS Console](https://aws.amazon.com/console/)
3 changes: 2 additions & 1 deletion modules/terraform/azure/onboarding/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,5 @@ resource "azurerm_kusto_eventgrid_data_connection" "evengrid_connection" {
data_format = "JSON"
mapping_rule_name = "${var.json_input.kusto_table_name}_mapping"
depends_on = [azurerm_eventgrid_event_subscription.event_subscription, azurerm_kusto_script.script, azurerm_eventhub_consumer_group.consumer_group]
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@ vm_config_list = [{
associate_public_ip_address = true
zone_suffix = "b"
}
]
]

0 comments on commit fbd461c

Please sign in to comment.