docs: remove vendored React Doctor skills #22
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: doppler-check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| name: Verifica variabili Doppler | |
| runs-on: ubuntu-latest | |
| env: | |
| DOPPLER_PROJECT: ${{ vars.DOPPLER_PROJECT }} | |
| DOPPLER_CONFIG: ${{ vars.DOPPLER_CONFIG }} | |
| DOPPLER_TOKEN_PRESENT: ${{ secrets.DOPPLER_TOKEN != '' }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Verifica variabili GitHub | |
| run: | | |
| set -euo pipefail | |
| echo "project: ${DOPPLER_PROJECT}" | |
| echo "config: ${DOPPLER_CONFIG}" | |
| if [ -z "${DOPPLER_PROJECT:-}" ]; then | |
| echo "::error::DOPPLER_PROJECT non impostato" | |
| exit 1 | |
| fi | |
| if [ -z "${DOPPLER_CONFIG:-}" ]; then | |
| echo "::error::DOPPLER_CONFIG non impostata" | |
| exit 1 | |
| fi | |
| if [ "${DOPPLER_TOKEN_PRESENT}" != "true" ]; then | |
| echo "::warning::DOPPLER_TOKEN assente: il fetch non verrà eseguito." | |
| fi | |
| - name: Fetch Doppler secrets | |
| if: ${{ env.DOPPLER_TOKEN_PRESENT == 'true' && vars.DOPPLER_PROJECT != '' && vars.DOPPLER_CONFIG != '' }} | |
| uses: dopplerhq/secrets-fetch-action@v2.0.0 | |
| with: | |
| doppler-token: ${{ secrets.DOPPLER_TOKEN }} | |
| doppler-project: ${{ vars.DOPPLER_PROJECT }} | |
| doppler-config: ${{ vars.DOPPLER_CONFIG }} | |
| inject-env-vars: true | |
| - name: Skip fetch | |
| if: ${{ env.DOPPLER_TOKEN_PRESENT != 'true' || vars.DOPPLER_PROJECT == '' || vars.DOPPLER_CONFIG == '' }} | |
| run: | | |
| echo "::notice::Doppler fetch saltato: imposta DOPPLER_TOKEN, DOPPLER_PROJECT e DOPPLER_CONFIG nelle impostazioni GitHub." |