Skip to content

Commit

Permalink
docs: add goreportcard-action and pr linting action (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
diranged authored Nov 22, 2022
1 parent 28a13fc commit 2763726
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
if: needs.detect-noop.outputs.noop != 'true'
uses: ./.github/workflows/docgen.yaml


lint:
needs: detect-noop
if: needs.detect-noop.outputs.noop != 'true'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
tags-ignore: '*'

jobs:
goreportcard:
name: goreportcard-refresh
steps:
- uses: creekorful/[email protected]

build:
uses: ./.github/workflows/build.yaml

Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/pull-request-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: pull-request-lint
on:
pull_request: {}
pull_request_target:
types:
- labeled
- opened
- synchronize
- reopened
- ready_for_review
- edited
jobs:
validate:
name: Validate PR title
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |-
feat
fix
chore
docs
requireScope: false

0 comments on commit 2763726

Please sign in to comment.