Fix semantic merge clippy error (#7981) #123
This file contains hidden or 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
| # Posts a v3 ingest envelope with no records on every push to develop, so the | |
| # `commits` dim stays populated even when no benchmark ran. | |
| name: v3 commit metadata | |
| on: | |
| push: | |
| branches: [develop] | |
| workflow_dispatch: { } | |
| permissions: | |
| contents: read | |
| jobs: | |
| commit-metadata: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 2 | |
| - name: Ingest commit metadata to v3 server | |
| if: vars.V3_INGEST_URL != '' | |
| continue-on-error: true | |
| shell: bash | |
| env: | |
| INGEST_BEARER_TOKEN: ${{ secrets.INGEST_BEARER_TOKEN }} | |
| run: | | |
| echo -n > empty.jsonl | |
| python3 scripts/post-ingest.py empty.jsonl \ | |
| --server "${{ vars.V3_INGEST_URL }}" \ | |
| --commit-sha "${{ github.sha }}" \ | |
| --benchmark-id "commit-metadata" \ | |
| --repo-url "${{ github.server_url }}/${{ github.repository }}" |