Skip to content

Commit

Permalink
simplify the ci pipeline once post push event has been supported
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Feb 4, 2024
1 parent 6571141 commit 0b9fb11
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 74 deletions.
28 changes: 0 additions & 28 deletions .github/actions/avmfix/action.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/actions/docs-check/action.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/actions/linting/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,11 @@ runs:
using: composite
steps:

- name: terraform fmt check
shell: bash
run: |
docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform make tffmtcheck
- name: terraform validate
shell: bash
run: |
docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform make tfvalidatecheck
- name: terrafmt check
shell: bash
run: |
docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform make terrafmtcheck
- name: tflint
shell: bash
run: |
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ concurrency:
cancel-in-progress: true

jobs:
docs:
if: github.event.repository.name != 'terraform-azurerm-avm-template'
name: docs
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1

- name: check docs
uses: Azure/terraform-azurerm-avm-template/.github/actions/docs-check@main

terraform:
if: github.event.repository.name != 'terraform-azurerm-avm-template'
Expand All @@ -38,14 +28,3 @@ jobs:
uses: Azure/terraform-azurerm-avm-template/.github/actions/linting@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

avmfix:
if: github.event.repository.name != 'terraform-azurerm-avm-template' && false
name: avmfix
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1

- name: avmfix
uses: Azure/terraform-azurerm-avm-template/.github/actions/avmfix@main

0 comments on commit 0b9fb11

Please sign in to comment.