Skip to content

fix: Remove button dependency on external css file #9

fix: Remove button dependency on external css file

fix: Remove button dependency on external css file #9

Workflow file for this run

name: Validate Pull Request
on:
pull_request:
branches:
- main
jobs:
merge-validation:
runs-on: ubuntu-latest
if: always() && !contains(join(needs.*.result, ','), 'failure')
needs: storybook-ci
steps:
- name: Log Results
shell: pwsh
run: |
Write-Host "Dependency Results: ${{ join(needs.*.result, ',') }}"
- name: Generate Deployment Summary
shell: pwsh
env:
NEEDS_JSON: ${{ toJSON(needs) }}
run: |
"Merge Validation Results`n" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
"`n" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
($env:NEEDS_JSON | ConvertFrom-Json).psobject.Properties | ForEach-Object {
"- $($_.name): $($_.value.result)`n" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
}
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
backend: ${{ steps.filter.outputs.storybook }}
steps:
- uses: dorny/paths-filter@v2
id: filter
with:
list-files: shell
filters: |
storybook:
- '.github/workflows/storybook*.*'
- '.storybook/**'
- 'stories/**'
- 'package*.json'
storybook-ci:
needs: changes
if: ${{ needs.changes.outputs.storybook == 'true' }}
uses: "./.github/workflows/storybook-ci.yml"