Skip to content

Commit

Permalink
testing apply of rulesets
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorOKane-Kainos committed Aug 30, 2024
1 parent 4ee9832 commit 810fffe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
branches:
- main

push:
branches:
- main
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -56,7 +60,7 @@ jobs:

- name: Terraform Apply
working-directory: components
if: github.event.pull_request.merged == true
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }}
Expand Down

0 comments on commit 810fffe

Please sign in to comment.