mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-02 03:00:23 +00:00
c84b4a15ba
There is no need to run the `test-retest-action` GitHub Workflow if there are no changes under the `actions/retest` directory. Signed-off-by: Niels de Vos <ndevos@redhat.com>
24 lines
522 B
YAML
24 lines
522 B
YAML
---
|
|
name: test-retest-action
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
pull_request:
|
|
branches: [devel]
|
|
paths:
|
|
- 'actions/retest/**'
|
|
- '.github/workflows/test-retest-action.yaml'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Docker build
|
|
# Run cd to avoid loading complete cephcsi directory in docker context
|
|
# while building retest image.
|
|
run: cd actions/retest && docker build -t retest .
|