Skip to content

Commit

Permalink
Self run test
Browse files Browse the repository at this point in the history
  • Loading branch information
cradle8810 committed Apr 25, 2024
1 parent 8cb45ba commit 0db38ec
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- '**'
workflow_dispatch:

jobs:
Yamllint:
Expand Down Expand Up @@ -38,11 +39,26 @@ jobs:
"./dupcheck.sh"
"inventories/host_vars/rui/ads_hosts/NXDOMAIN.yml"
Ansible-rui-dns:
Detect_File_Changed:
runs-on: ubuntu-latest
steps:
- name: Check What file were changed
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
rui:
- 'rui.yml'
- 'tasks/rui/dnsmasq.yml'
- 'inventories/host_vars/rui/**'
Dry_Run_ansible:
if: ${{ needs.changes.outputs.rui == 'true' }}
needs:
- Yamllint
- AnsibleLint
- Duplicate_Check
- Detect_File_Changed
runs-on: self-hosted
steps:
- name: Checkout
Expand Down

0 comments on commit 0db38ec

Please sign in to comment.