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