From bb4ea9a020ba29925ff118578dee59c061c0936c Mon Sep 17 00:00:00 2001 From: Kev Jimenez Date: Thu, 1 Feb 2024 04:17:20 +0000 Subject: [PATCH] tried to fix linting errors --- .github/workflows/deploy.yml | 3 +-- .github/workflows/destroy.yml | 2 +- .github/workflows/tflint.yml | 2 +- aws_ec2.yml | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 724e561..702bda6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,7 +6,6 @@ jobs: deploy: runs-on: cicd1 - steps: - name: Checkout code @@ -31,4 +30,4 @@ jobs: run: sleep 7s - name: Run Ansible Playbook - run: ansible-playbook -i aws_ec2.yml playbook.yml + run: ansible-playbook -i aws_ec2.yml playbook.yml \ No newline at end of file diff --git a/.github/workflows/destroy.yml b/.github/workflows/destroy.yml index e24e3e8..7dde45f 100644 --- a/.github/workflows/destroy.yml +++ b/.github/workflows/destroy.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v4 - name: Run ansible playbook for uninstallation run: ansible-playbook -i aws_ec2.yml destroyinf.yml diff --git a/.github/workflows/tflint.yml b/.github/workflows/tflint.yml index 0cc1189..3f34402 100644 --- a/.github/workflows/tflint.yml +++ b/.github/workflows/tflint.yml @@ -1,7 +1,7 @@ name: Lint on: push: - branches: [ main ] + branches: main pull_request: jobs: diff --git a/aws_ec2.yml b/aws_ec2.yml index 1bf7ae2..ec1afc7 100644 --- a/aws_ec2.yml +++ b/aws_ec2.yml @@ -3,4 +3,4 @@ regions: - ap-southeast-1 filter: - tag:cicd: sys1 \ No newline at end of file + tag:cicd: sys1 \ No newline at end of file