Infra Setup #1

Closed
cyclane wants to merge 14 commits from infra-setup into main
1 changed files with 8 additions and 4 deletions
Showing only changes of commit f3c68d9ecb - Show all commits

View File

@ -11,6 +11,7 @@ on:
paths:
- infra/**-playbook.yaml
- .github/workflows/infra.yaml
fork:
jobs:
check:
@ -19,8 +20,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
- run: |
echo ${{ github.event.pull_request.commits }}
echo ${{ github.event.pusher }}
echo ${{ github.event.forkee }}
- name: Setup Python
uses: actions/setup-python@v4
@ -29,8 +33,8 @@ jobs:
- name: Install dependencies
run: |
pip3 install -r requirements.txt
ansible-galaxy collection install community.general
pip3 install -r requirements.txt ${{ github.event.pull_request.base }}
ansible-galaxy collection install community.general ${{ github.event.pull_request.merge_commit_sha }}
- name: Get changed playbooks
id: changed-playbooks