misc/github: Update workflow.

Run code-size after PRs only.
This commit is contained in:
iabdalkader 2024-07-25 23:46:51 +03:00
parent b9b62b39f8
commit d083435389

View File

@ -8,7 +8,10 @@ on:
jobs:
post-code-report:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: >
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- name: '↓ Download code size report'