Commit 65b56bba authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

ci: update workflows

parent efa97d68
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ jobs:
    strategy:
      max-parallel: 2
      matrix:
        ansible: ["9", "latest"]
        ansible: ["9", "10"]
        python: ["3.10", "3.12"]

    steps:
      - name: Check out the codebase
@@ -33,7 +34,7 @@ jobs:
      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.10"
          python-version: "${{ matrix.python }}"
          cache: "pip"
          cache-dependency-path: .requirements/${{ matrix.ansible }}.txt

+29 −0
Original line number Diff line number Diff line
name: Update from template
"on":
  schedule:
    - cron: "00 00 * * *"
  workflow_dispatch:
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: false
jobs:
  merge:
    name: Update from template
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4.1.6
        with:
          token: ${{ secrets.PAT }}
          fetch-depth: 0

      - name: Run update script
        run: bash update.sh

      - name: Commit changes back to repository
        uses: EndBug/add-and-commit@v9.1.4
        with:
          commit: --signoff
          default_author: github_actor
          fetch: true
          message: 'ci: update from template'

.requirements/10.txt

0 → 100644
+3 −0
Original line number Diff line number Diff line
# Requirements for ansible 10
ansible >=10, <11
ansible-lint
+1 −1
Original line number Diff line number Diff line
# Requirements for ansible stable
# Requirements for ansible 9
ansible >=9, <10
ansible-lint

.requirements/latest.txt

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
# Requirements for ansible latest
ansible
ansible-lint
Loading