Skip to content

Commit

Permalink
chore(ci): remove PR body and title checks (#2456)
Browse files Browse the repository at this point in the history
- Remove PR title and body check CI workflow
- Remove PR title and body verification Go code
- Simplify PR body template
  • Loading branch information
qdm12 authored Apr 6, 2022
1 parent 4a9d9ec commit f6bac28
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 240 deletions.
21 changes: 0 additions & 21 deletions .github/PULL_REQUEST/pull_request.go

This file was deleted.

36 changes: 7 additions & 29 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,21 @@
## Changes

<!--
Please provide a brief but specific list of changes made, describe the changes
in functionality rather than the changes in code.
-->

-
-
-
<!-- Brief list of functional changes -->

## Tests

<!--
Details on how to run tests relevant to the changes within this pull request.
-->

```
<!-- Detail how to run relevant tests to the changes -->

```sh
go test -tags integration github.com/ChainSafe/gossamer
```

## Issues

<!--
Please link any issues that this pull request is related to and use the GitHub
supported format for automatically closing issues (ie, closes #123, fixes #123)
-->

-
<!-- Write the issue number(s), for example: #123 -->

## Primary Reviewer

<!--
Please indicate one of the code owners that are required to review prior to merging changes (e.g. @noot)
-->
<!-- Tag a code owner to review your PR -->

-
@timwu20
22 changes: 0 additions & 22 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,3 @@ jobs:

- name: Lint
run: make lint

check-description:
name: Checks PR has title and body description
# Commented to avoid skipping required workflow
# See https://github.community/t/feature-request-conditional-required-checks/16761
# if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.18
stable: true
check-latest: true

- uses: actions/checkout@v3
- name: Checks PR has title and body description
run: |
go run .github/PULL_REQUEST/pull_request.go
env:
RAW_TITLE: ${{ github.event.pull_request.title }}
RAW_BODY: ${{ github.event.pull_request.body }}
66 changes: 0 additions & 66 deletions lib/utils/pull_request.go

This file was deleted.

102 changes: 0 additions & 102 deletions lib/utils/pull_request_test.go

This file was deleted.

0 comments on commit f6bac28

Please sign in to comment.