Internals: Use Verilator CI App in 'RTLMeter PR results'

This commit is contained in:
Geza Lore 2025-08-31 18:17:26 +01:00
parent c03cb9d9c2
commit 5bdc9abd2f
1 changed files with 9 additions and 1 deletions

View File

@ -33,9 +33,17 @@ jobs:
name: pr-number
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
# Use the Verilator CI app to post the comment
- name: Generate access token
id: generate-token
uses: actions/create-github-app-token@v2.0.6
with:
app-id: ${{ vars.VERILATOR_CI_ID }}
private-key: ${{ secrets.VERILATOR_CI_KEY }}
permission-pull-requests: write
- name: Comment on PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
ls -la
cat report.txt