Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshrijal committed Sep 15, 2023
1 parent ab1b665 commit e3d834c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
pull_request:
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
- name: Run ansible-lint
uses: ansible/ansible-lint@main # or version tag instead of 'main'

Check failure on line 11 in .github/workflows/ansible-lint.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[new-line-at-end-of-file]

No new line character at the end of file
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

6 changes: 6 additions & 0 deletions tasks/git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@
name: core.editor
scope: global
value: vim

- name: Set default branch
community.general.git_config:
name: init.defaultBranch
scope: global
value: "main"
6 changes: 1 addition & 5 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ go_install_path: /usr/local/go
# terraform_version: "1.5.2"
node_version: "18.x"

# Git confuguration
# Git configuration
email: "62394512+maheshrjl@users.noreply.github.com"
key_name: "gh"
git_username: "maheshrjl"

tool_versions:
# terraform_version: "1.5.2"
node_version: "18.x"

0 comments on commit e3d834c

Please sign in to comment.