Skip to content

Ansible Lint weekly Debian #32

Ansible Lint weekly Debian

Ansible Lint weekly Debian #32

# Copyright (C) 2023, RTE (http://www.rte-france.com)
# Copyright (C) 2024 Savoir-faire Linux, Inc.
# SPDX-License-Identifier: Apache-2.0
name: Ansible Lint weekly Debian
env:
WORK_DIR: /tmp/seapath_ci_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.sha }}
on:
schedule:
- cron: '30 22 * * 6'
workflow_call:
workflow_dispatch:
permissions:
checks: write
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- uses: [self-hosted, runner-RTE-12]

Check failure on line 23 in .github/workflows/ansible-lint-debian-weekly.yml

View workflow run for this annotation

GitHub Actions / Ansible Lint weekly Debian

Invalid workflow file

The workflow is not valid. .github/workflows/ansible-lint-debian-weekly.yml (Line: 23, Col: 15): A sequence was not expected
with:
ref: debian-main
- name: Initialize sources
run: mkdir ${{ env.WORK_DIR }}; cd ${{ env.WORK_DIR }};
git clone -q --depth 1 -b main https://github.com/seapath/ci ci;
echo "Sources downloaded successfully";
ci/ansible-lint.sh init;
- name: Lint
run: cd ${{ env.WORK_DIR }};
ci/ansible-lint.sh lint;
- name: Clean
if: always()
run: rm -rf $WORK_DIR;