Skip to content

Commit 5270dd4

Browse files
committed
changed tf plan to self runner on gcp
1 parent 48ae5db commit 5270dd4

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/terraform-plan.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
name: 'Terraform'
1+
name: 'Terraform Plan'
22

33
on:
4-
workflow_dispatch: # manual action run
4+
pull_request:
5+
branches:
6+
- main
57

68
permissions:
79
contents: read
810

911
jobs:
1012
terraform:
1113
name: 'Terraform Plan'
12-
runs-on: ubuntu-latest
13-
environment: development
14-
defaults:
15-
run:
16-
shell: bash
14+
runs-on: self-hosted
1715

1816
steps:
1917
# Checkout the repository to the GitHub Actions runner

0 commit comments

Comments
 (0)