feat(autoware_debug_tools): add frequent_log_checker.py #1138
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
# This file is automatically synced from: | |
# https://github.com/autowarefoundation/sync-file-templates | |
# To make changes, update the source repository and follow the guidelines in its README. | |
name: deploy-docs | |
on: | |
push: | |
branches: | |
- main | |
- galactic | |
paths: | |
- mkdocs.yaml | |
- "**/*.md" | |
- "**/*.svg" | |
- "**/*.png" | |
- "**/*.jpg" | |
pull_request_target: | |
types: | |
- opened | |
- synchronize | |
- labeled | |
workflow_dispatch: | |
jobs: | |
prevent-no-label-execution: | |
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1 | |
with: | |
label: run:deploy-docs | |
deploy-docs: | |
needs: prevent-no-label-execution | |
if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Deploy docs | |
uses: autowarefoundation/autoware-github-actions/deploy-docs@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
latest: ${{ github.event_name != 'pull_request_target' && github.ref_name == github.event.repository.default_branch }} |