Skip to content

ci: Remove trigger pull_request_target #82

ci: Remove trigger pull_request_target

ci: Remove trigger pull_request_target #82

Workflow file for this run

# Copyright 2023 Thales DIS
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
name: Verible
on: [push, pull_request]
jobs:
format:
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
pull-requests: write
# Skip on forks due to missing secrets.
if: github.repository == 'pulp-platform/cva6' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: niwis/verible-formatter-action@pulp
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: 'core/**/*.{v,sv}'
fail_on_formatting_suggestions: false
reviewdog_reporter: github-check
reviewdog_fail_on_error: true