Skip to content

Report Size Deltas #78056

Report Size Deltas

Report Size Deltas #78056

name: Report Size Deltas
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
push:
paths:
- ".github/workflows/report-size-deltas.ya?ml"
schedule:
# Run at the minimum interval allowed by GitHub Actions.
# Note: GitHub Actions periodically has outages which result in workflow failures.
# In this event, the workflows will start passing again once the service recovers.
- cron: "*/5 * * * *"
workflow_dispatch:
repository_dispatch:
permissions:
pull-requests: write
jobs:
report:
# Scheduled workflow runs would cause excess GitHub Actions service charges in a private repo
if: github.repository_visibility == 'public'
runs-on: ubuntu-latest
steps:
- name: Comment size deltas reports to PRs
uses: arduino/report-size-deltas@v1
with:
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
sketches-reports-source: ^sketches-report-.+