generated from roles-ansible/ansible_role_template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from roles-ansible/lint
Cleanup + Linting + versionscheck
- Loading branch information
Showing
14 changed files
with
414 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Galaxy release | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
push: | ||
branches: ['main'] | ||
release: | ||
types: ['created'] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: galaxy | ||
uses: robertdebock/[email protected] | ||
with: | ||
galaxy_api_key: ${{ secrets.galaxy_api_key }} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
--- | ||
name: Galaxy release | ||
name: Galaxy-NG Roles Import | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
push: | ||
branches: ['main'] | ||
release: | ||
types: ['created'] | ||
|
||
jobs: | ||
build: | ||
name: Galaxy Role Importer | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 'checkout git repo' | ||
- name: 'Checkout git repo' | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: 'release on galaxy' | ||
uses: robertdebock/galaxy-action@1.2.1 | ||
- name: 'Release on galaxy' | ||
uses: ansible-actions/ansible-galaxy-action@v1.1.1 | ||
with: | ||
galaxy_api_key: ${{ secrets.galaxy_api_key }} | ||
git_branch: 'main' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Jinja2 Linting check | ||
|
||
# yamllint disable-line rule:truthy | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Jinja2 Linting | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout git repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: Run j2lint | ||
uses: ansible-actions/[email protected] | ||
with: | ||
target: "./" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Yamllint check | ||
|
||
# yamllint disable-line rule:truthy | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Yamllint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout git repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: Run yamllint | ||
uses: ansible-actions/[email protected] | ||
with: | ||
target: "./" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.