-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (36 loc) · 967 Bytes
/
VERSIONCHECK.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# vim: set ft=yaml ts=2 expandtab:
#
# Copyright (c) Markus Falb <markus.falb@mafalb.at>
# GNU General Public License v3.0+
# see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt
---
name: VERSIONCHECK
on: # yamllint disable-line rule:truthy
push:
branches:
- '**'
tags-ignore:
- '*'
schedule:
- cron: '07 10 * * *'
jobs:
check_update:
runs-on: ubuntu-20.04
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
ANSIBLE_COLLECTIONS_PATHS: ../../..
defaults:
run:
working-directory: ansible_collections/mafalb/ansible
steps:
- name: checkout collection mafalb.ansible
uses: actions/checkout@v3
with:
path: ansible_collections/mafalb/ansible
# we are happy with any pre-installed ansible
- name: check for new versions
run: ansible-playbook playbooks/check_for_new_version.yml
env:
ANSIBLE_COLLECTIONS_PATHS: '../../..'
...