From 18352f1b1384826ed6e1ee93ac1f01d6faa1b157 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Fri, 28 Apr 2023 21:49:20 +0000 Subject: [PATCH 1/2] try ansible-lint action --- .gitea/workflows/ansible-lint.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/ansible-lint.yaml diff --git a/.gitea/workflows/ansible-lint.yaml b/.gitea/workflows/ansible-lint.yaml new file mode 100644 index 0000000..0c7ac79 --- /dev/null +++ b/.gitea/workflows/ansible-lint.yaml @@ -0,0 +1,20 @@ +name: ansible-lint +on: [push, pull_request] + +jobs: + build: + name: Ansible Lint # Naming the build is important to use it as a status check + runs-on: ubuntu-latest + + steps: + # Important: This sets up your GITHUB_WORKSPACE environment variable + - uses: actions/checkout@v3 + with: + fetch-depth: 0 # needed for progressive mode to work + + - name: Run ansible-lint + # replace `main` with any valid ref, or tags like `v6` + uses: ansible/ansible-lint-action@main + # optional: + # with: + # path: "playbooks/" # <-- only one value is allowed \ No newline at end of file From 5ec6cd86e96a1bf26468c4cad07a1f2546253429 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Fri, 28 Apr 2023 21:51:27 +0000 Subject: [PATCH 2/2] try ansible-lint action --- .gitea/workflows/ansible-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ansible-lint.yaml b/.gitea/workflows/ansible-lint.yaml index 0c7ac79..2220e1d 100644 --- a/.gitea/workflows/ansible-lint.yaml +++ b/.gitea/workflows/ansible-lint.yaml @@ -14,7 +14,7 @@ jobs: - name: Run ansible-lint # replace `main` with any valid ref, or tags like `v6` - uses: ansible/ansible-lint-action@main + uses: https://github.com/ansible/ansible-lint-action@main # optional: # with: # path: "playbooks/" # <-- only one value is allowed \ No newline at end of file