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.
- Loading branch information
Showing
5 changed files
with
57 additions
and
34 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 |
---|---|---|
|
@@ -10,14 +10,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 'checkout git repo' | ||
uses: actions/checkout@v4.1.0 | ||
- name: Checkout git repo | ||
uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
submodules: false | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: Run ansible-lint | ||
uses: ansible-actions/[email protected] | ||
with: | ||
target: "./" | ||
collections_yml: 'requirements.yml' |
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.