mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-12-04 17:20:19 +01:00
improve linting
This commit is contained in:
parent
cebb2cc6b4
commit
9dc223b12c
8 changed files with 67 additions and 58 deletions
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
style: github
|
||||
template: CHANGELOG.tpl.md
|
||||
info:
|
||||
|
|
16
.github/workflows/galaxy.yml
vendored
16
.github/workflows/galaxy.yml
vendored
|
@ -1,22 +1,20 @@
|
|||
---
|
||||
name: 🌌 Galaxy import
|
||||
name: Galaxy release
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
branches: ['main']
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
types: ['created']
|
||||
|
||||
jobs:
|
||||
import:
|
||||
name: 🚀 Galaxy Action
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.1.1
|
||||
uses: robertdebock/galaxy-action@1.1.0
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.GALAXY_API_KEY }}
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
|
|
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
name: 🎭 Tests
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
.cache
|
||||
.DS_Store
|
8
.yamllint
Normal file
8
.yamllint
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
# 150 chars should be enough, but don't fail if a line is longer
|
||||
line-length:
|
||||
max: 150
|
||||
level: warning
|
Loading…
Reference in a new issue