update package info, add readme and auto release action #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Commit Message Check | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
env: | |
error_msg: |+ | |
See the document below for help on formatting commits for the project. | |
https://github.com/kata-containers/community/blob/master/CONTRIBUTING.md#patch-forma | |
jobs: | |
commit-message-check: | |
runs-on: ubuntu-latest | |
name: Commit Message Check | |
steps: | |
- name: Get PR Commits | |
id: 'get-pr-commits' | |
uses: tim-actions/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: DCO Check | |
uses: tim-actions/dco@2fd0504dc0d27b33f542867c300c60840c6dcb20 | |
with: | |
commits: ${{ steps.get-pr-commits.outputs.commits }} | |
- name: Commit Body Missing Check | |
if: ${{ success() || failure() }} | |
uses: tim-actions/[email protected] | |
with: | |
commits: ${{ steps.get-pr-commits.outputs.commits }} | |
- name: Check Subject Line Length | |
if: ${{ success() || failure() }} | |
uses: tim-actions/[email protected] | |
with: | |
commits: ${{ steps.get-pr-commits.outputs.commits }} | |
pattern: '^.{0,75}(\n.*)*$' | |
error: 'Subject too long (max 75)' | |
post_error: ${{ env.error_msg }} | |
- name: Check Body Line Length | |
if: ${{ success() || failure() }} | |
uses: tim-actions/[email protected] | |
with: | |
commits: ${{ steps.get-pr-commits.outputs.commits }} | |
pattern: '^.+(\n([a-zA-Z].{0,149}|[^a-zA-Z\n].*|Signed-off-by:.*|))+$' | |
error: 'Body line too long (max 72)' | |
post_error: ${{ env.error_msg }} |