Skip to content

Docker container action template with release automation and reviewdog integration

License

Notifications You must be signed in to change notification settings

haya14busa/action-docker-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-docker-template

Test reviewdog release GitHub release (latest SemVer) action-bumpr supported

This is a template repository for creating a Docker container action. with release automation and reviewdog (linters) integrations. Click Use this template button to create your action based on this template.

A sample action is to get GitHub star counts from a given repository.

Input

inputs:
  github_token:
    description: 'GITHUB_TOKEN'
    default: '${{ github.token }}'
  repo:
    description: 'target GitHub repository. e.g. reviewdog/reviewdog'
    default: '${{ github.repository }}'
    required: true

Usage

- name: Get Star Count
  uses: haya14busa/action-docker-template@v1
  id: sample
  with:
    repo: "reviewdog/reviewdog"

- name: Check Star Count
  run: |
    echo "${{ steps.sample.outputs.star }}"

Development

Release

You can bump version on merging Pull Requests with specific labels (bump:major,bump:minor,bump:patch). Pushing tag manually by yourself also work.

This action updates major/minor release tags on a tag push. e.g. Update v1 and v1.2 tag when released v1.2.3. ref: https://help.github.com/en/articles/about-actions#versioning-your-action

Lint - reviewdog integration

reviewdog integration

Supported linters:

Dependencies Update Automation

This template repository doesn't have dependencies, but you can use haya14busa/action-depup to update dependencies in plain text format automatically.

About

Docker container action template with release automation and reviewdog integration

Resources

License

Stars

Watchers

Forks

Packages

No packages published