infra-setup #2
|
@ -21,9 +21,14 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Fetch target
|
- name: Fetch PR base
|
||||||
|
if: github.event.pull_request
|
||||||
run: |
|
run: |
|
||||||
git fetch --no-tags --progress --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.ref }}
|
git fetch --no-tags --progress --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.sha }}
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
if: github.event.forkee
|
||||||
|
run: echo dot!
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
echo !${{ github.event.pull_request.base.repo }} !${{ github.event.pull_request.base.sha }}
|
echo !${{ github.event.pull_request.base.repo }} !${{ github.event.pull_request.base.sha }}
|
||||||
|
@ -46,7 +51,7 @@ jobs:
|
||||||
id: changed-playbooks
|
id: changed-playbooks
|
||||||
uses: tj-actions/changed-files@v38
|
uses: tj-actions/changed-files@v38
|
||||||
with:
|
with:
|
||||||
since_last_remote_commit: "true"
|
base_sha: ${{ github.event.pull_request.base.sha }}
|
||||||
files: infra/**-playbook.yaml
|
files: infra/**-playbook.yaml
|
||||||
|
|
||||||
- name: Check modified playbooks
|
- name: Check modified playbooks
|
||||||
|
|
Loading…
Reference in New Issue