diff --git a/.github/workflows/verible.yml b/.github/workflows/verible.yml new file mode 100644 index 0000000000..6512b5181c --- /dev/null +++ b/.github/workflows/verible.yml @@ -0,0 +1,19 @@ +name: Verible +on: + pull_request_target: + +jobs: + format: + runs-on: ubuntu-latest + permissions: + checks: write + contents: read + pull-requests: write + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} + - uses: chipsalliance/verible-formatter-action@main + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + files: 'core/**/*.{v,sv}'