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.
inputs:
github_token:
description: 'GITHUB_TOKEN'
default: '${{ github.token }}'
repo:
description: 'target GitHub repository. e.g. reviewdog/reviewdog'
default: '${{ github.repository }}'
required: true
- 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 }}"
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
Supported linters:
This template repository doesn't have dependencies, but you can use haya14busa/action-depup to update dependencies in plain text format automatically.