diff --git a/.github/workflows/00-scan-secrets.yml b/.github/workflows/00-scan-secrets.yml index 594354ee727..48148c4f82c 100644 --- a/.github/workflows/00-scan-secrets.yml +++ b/.github/workflows/00-scan-secrets.yml @@ -17,8 +17,8 @@ jobs: id: extract_branch - name: 🐷 TruffleHog OSS - if: ${{ github.event.pull_request != null }} # only scan on pull-requests uses: trufflesecurity/trufflehog@main + if: ${{ github.event.pull_request != null }} # only scan on pull-requests with: path: ./ base: ${{ steps.extract_branch.outputs.branch-name }} diff --git a/.github/workflows/02-e2e-foundations.yml b/.github/workflows/02-e2e-foundations.yml index 013e6e56927..0a285b1fac0 100644 --- a/.github/workflows/02-e2e-foundations.yml +++ b/.github/workflows/02-e2e-foundations.yml @@ -40,8 +40,8 @@ jobs: run: npm run test:e2e - name: 🆙 Upload test results - if: failure() uses: actions/upload-artifact@v4 + if: failure() with: name: foundations-playwright-results path: ./packages/foundations/test-results diff --git a/.github/workflows/02-e2e-regenerate.yml b/.github/workflows/02-e2e-regenerate.yml index 948fef989f7..697a65c2669 100644 --- a/.github/workflows/02-e2e-regenerate.yml +++ b/.github/workflows/02-e2e-regenerate.yml @@ -56,8 +56,8 @@ jobs: path: build-showcases/react-showcase - name: ⏬ Download patternhub - if: inputs.type == 'patternhub' uses: actions/download-artifact@v4 + if: inputs.type == 'patternhub' with: name: db-ui-patternhub path: build-showcases/patternhub @@ -79,32 +79,32 @@ jobs: fi - name: 🆙 Upload components - if: inputs.type == 'components' uses: actions/upload-artifact@v4 + if: inputs.type == 'components' with: name: snapshots-${{ inputs.type }} path: ./__snapshots__/*/component retention-days: 30 - name: 🆙 Upload foundations - if: inputs.type == 'foundations' uses: actions/upload-artifact@v4 + if: inputs.type == 'foundations' with: name: snapshots-${{ inputs.type }} path: ./__snapshots__/foundations retention-days: 30 - name: 🆙 Upload patternhub - if: inputs.type == 'patternhub' uses: actions/upload-artifact@v4 + if: inputs.type == 'patternhub' with: name: snapshots-${{ inputs.type }} path: ./__snapshots__/*/patternhub retention-days: 30 - name: 🆙 Upload showcase - if: inputs.type == 'showcases' uses: actions/upload-artifact@v4 + if: inputs.type == 'showcases' with: name: snapshots-${{ inputs.type }} path: ./__snapshots__/*/showcase diff --git a/.github/workflows/02-e2e-showcases.yml b/.github/workflows/02-e2e-showcases.yml index c1aa8266873..48a968a09aa 100644 --- a/.github/workflows/02-e2e-showcases.yml +++ b/.github/workflows/02-e2e-showcases.yml @@ -72,16 +72,16 @@ jobs: npx playwright merge-reports --reporter github ./blob-report - name: 🆙 Upload test results - if: failure() uses: actions/upload-artifact@v4 + if: failure() with: name: ${{ inputs.showcase }}-playwright-results-${{ matrix.shardIndex }} path: ./showcases/${{ inputs.showcase }}/test-results retention-days: 30 - name: 🆙 Upload aChecker results - if: failure() uses: actions/upload-artifact@v4 + if: failure() with: name: ${{ matrix.framework }}-showcase-achecker-results-${{ matrix.shardIndex }} path: ./showcases/${{ matrix.framework }}-showcase/results diff --git a/.github/workflows/99-add-url-comment.yml b/.github/workflows/99-add-url-comment.yml index 28f05369917..37b638844b2 100644 --- a/.github/workflows/99-add-url-comment.yml +++ b/.github/workflows/99-add-url-comment.yml @@ -1,6 +1,5 @@ --- name: 💬 Add url for gh-page as issue comment to PR - on: workflow_call: jobs: