feat(biome_css_analyzer): noUnknownUnit (#2535) #2
This file contains 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: Repository dispatch on main | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
env: | |
BIOME_WEBSITE_REPO: biomejs/website | |
BIOME_PUSH_ON_MAIN_EVENT_TYPE: biome-push-on-main-event | |
jobs: | |
repository-dispatch: | |
name: Repository dispatch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dispatch event on push | |
if: ${{ github.event_name == 'push' }} | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3 | |
with: | |
token: ${{ secrets.BIOME_REPOSITORY_DISPATCH }} | |
repository: ${{ env.BIOME_WEBSITE_REPO }} | |
event-type: ${{ env.BIOME_PUSH_ON_MAIN_EVENT_TYPE }} | |
client-payload: '{"event": ${{ toJson(github.event) }}}' | |
# For testing only, the payload is mocked | |
- name: Dispatch event on workflow dispatch | |
if: ${{ github.event_name == 'workflow_dispatch' }} | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3 | |
with: | |
token: ${{ secrets.BIOME_REPOSITORY_DISPATCH }} | |
repository: ${{ env.BIOME_WEBSITE_REPO }} | |
event-type: ${{ env.BIOME_PUSH_ON_MAIN_EVENT_TYPE }} | |
client-payload: '{"event": {"head_commit": {"id": "${{ env.GITHUB_SHA }}"}}}' |