From f3c68d9ecbd26d8a39d346b08b9f03fd1b84cb76 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Tue, 29 Aug 2023 02:11:53 +0100 Subject: [PATCH] testing stuff --- .github/workflows/infra.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index 9c1f097..86aef50 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -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