-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 970 Bytes
/
actions.yml
File metadata and controls
36 lines (28 loc) · 970 Bytes
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
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
~/cache
!~/cache/exclude
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Install deps
run: sudo apt install yamllint -y
- name: Check envvars
run: pwd
- name: Check yamllint
working-directory: /home/runner/work/multivendor_module_ansible/multivendor_module_ansible
run: |
yamllint . -f parsable
- name: First interaction
uses: actions/first-interaction@v1.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "# Welcome to MVAS' Ansible modules"
pr-message: "Welcome to MVAS' Ansible modules. Before PR, check your yaml files w/ our yamllint configuration and test playbooks"