Skip to content

Commit

Permalink
Add pull request permission for workflow token (#1497)
Browse files Browse the repository at this point in the history
b/290997541
  • Loading branch information
oxve authored Sep 6, 2023
1 parent e9b7f49 commit 35b4dbc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/unit_test_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ on:
types:
- completed

# TODO(b/293508740): Report failed workflow runs back to triggering PR.

jobs:
unit-test-report:
permissions: {}
# TODO(b/293508740): Report failed workflow runs back to triggering PR.
# pull-requests: write
permissions:
pull-requests: write
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }}
runs-on: ubuntu-latest
name: Upload Unit Test Reports
Expand Down

0 comments on commit 35b4dbc

Please sign in to comment.