A collection of basic GitHub actions.
This action will set up Git.
- uses: aboutbits/github-actions-base/git-setup@v2
with:
user-name: 'AboutBits'
user-email: 'info@aboutbits.it'
The following inputs can be used as step.with
keys:
Name | Required/Default | Description |
---|---|---|
user-name |
required (AboutBits Tech) | User name for GIT to use |
user-email |
required (tech@aboutbits.it) | User email for GIT to use |
This action will add all changes, commit them and push it.
- uses: aboutbits/github-actions-base/git-commit-and-push-all@v2
with:
message: 'Commit message'
The following inputs can be used as step.with
keys:
Name | Required/Default | Description |
---|---|---|
message |
required | The commit message |
This action will create a new Git tag. If the tag already exists it will be overwritten (requires force-push).
- uses: aboutbits/github-actions-base/git-create-or-update-tag@v2
with:
tag-name: 'prod'
message: 'Deployed to Prod'
user-name: 'AboutBits'
user-email: 'info@aboutbits.it'
The following inputs can be used as step.with
keys:
Name | Required/Default | Description |
---|---|---|
tag-name |
required | The name of the tag to create |
message |
(empty) | An optional message to go with the tag |
This action will create a new GitHub release for a given tag.
- uses: aboutbits/github-actions-base/github-create-release@v2
with:
tag-name: 'v2.4.8'
The following inputs can be used as step.with
keys:
Name | Required/Default | Description |
---|---|---|
tag-name |
required | The name of the tag to create |
This action will add a comment to a GitHub PR.
- uses: aboutbits/github-actions-base/github-pr-comment@v2
with:
comment: 'Your comment'
The following inputs can be used as step.with
keys:
Name | Required/Default | Description |
---|---|---|
comment |
required | The text of the comment |
To build and publish the action, visit the GitHub Actions page of the repository and trigger the workflow "Release Package" manually.
About Bits is a company based in South Tyrol, Italy. You can find more information about us on our website.
For support, please contact info@aboutbits.it.
The MIT License (MIT). Please see the license file for more information.