chore: pin Prowler version to lastest master commit on push (#10384)

This commit is contained in:
César Arroba
2026-03-19 14:32:38 +01:00
committed by GitHub
parent ab266080d0
commit cece2cb87e

View File

@@ -99,6 +99,12 @@ jobs:
with:
persist-credentials: false
- name: Pin prowler SDK to latest master commit
if: github.event_name == 'push'
run: |
LATEST_SHA=$(git ls-remote https://github.com/prowler-cloud/prowler.git refs/heads/master | cut -f1)
sed -i "s|prowler-cloud/prowler.git@master|prowler-cloud/prowler.git@${LATEST_SHA}|" api/pyproject.toml
- name: Login to DockerHub
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
with: