aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/format.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/format.yaml')
-rw-r--r--.github/workflows/format.yaml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index fbef4a8..1c32511 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -5,8 +5,11 @@ on: [pull_request]
jobs:
format:
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: write
steps:
- - uses: actions/checkout@master
- - uses: chipsalliance/verible-formatter-action@main
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
+ - uses: actions/checkout@master
+ - uses: chipsalliance/verible-formatter-action@main
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}