diff --git a/.gitea/workflows/ansible-lint.yaml b/.gitea/workflows/ansible-lint.yaml index 102f508..7d3eaa9 100644 --- a/.gitea/workflows/ansible-lint.yaml +++ b/.gitea/workflows/ansible-lint.yaml @@ -3,14 +3,13 @@ on: - push jobs: - lint-everything: + ansible-lint: runs-on: ubuntu-latest container: image: shockrah/ansible steps: - - run: git init - - run: git remote add origin ${{ gitea.repositoryUrl }} - - name: git pull + - name: Checkout repo content + actions/checkout@v4 - run: ansible-lint working-directory: ansible/ diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml deleted file mode 100644 index e741fb6..0000000 --- a/.gitea/workflows/demo.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Actions demo -run-name: ${{ gitea.actor }} is testing the actions -on: - - push - -jobs: - simple-echo: - runs-on: gitea-main - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." - diff --git a/.gitea/workflows/sec-lint-s3.yaml b/.gitea/workflows/sec-lint-s3.yaml index 2a87bc2..6add42f 100644 --- a/.gitea/workflows/sec-lint-s3.yaml +++ b/.gitea/workflows/sec-lint-s3.yaml @@ -16,4 +16,4 @@ jobs: uses: bridgecrewio/checkov-action@master with: directory: infra/s3/ - framework: terraform \ No newline at end of file + framework: terraform