Skip to content

ci: Harden GitHub Actions #3213

ci: Harden GitHub Actions

ci: Harden GitHub Actions #3213

---
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:
# yamllint disable-line rule:line-length
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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 .