https://github.com/aboutbits/github-actions-base
GitHub Actions - Base
https://github.com/aboutbits/github-actions-base
base github-actions
Last synced: 7 months ago
JSON representation
GitHub Actions - Base
- Host: GitHub
- URL: https://github.com/aboutbits/github-actions-base
- Owner: aboutbits
- License: mit
- Created: 2023-07-11T08:43:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-17T14:01:15.000Z (over 2 years ago)
- Last Synced: 2025-02-25T15:29:00.408Z (12 months ago)
- Topics: base, github-actions
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# GitHub Actions Base
A collection of basic GitHub actions.
## Actions
### Create or Update Git Tag
This action will create a new git tag. If the tag already exists it will be overwritten (requires force-push).
#### Example
```yaml
- uses: aboutbits/github-actions-base/git-create-or-update-tag@v1
with:
tag-name: 'prod'
message: 'Deployed to Prod'
user-name: 'AboutBits'
user-email: 'info@aboutbits.it'
```
#### Inputs
The following inputs can be used as `step.with` keys:
| Name | Required/Default | Description |
|---------------------|------------------|------------------------------------------|
| `tag-name` | required | The name of the tag to create |
| `user-name` | required | User name for GIT to use |
| `user-email` | required | User email for GIT to use |
| `message` | (empty) | An optional message to go with the tag |
## Versioning
In order to have a versioning in place and working, create lightweight tags that point to the appropriate minor release versions.
Creating a new minor release:
```bash
git tag v1
git push --tags
```
Replacing an already existing minor release:
```bash
git tag -d v1
git push origin :refs/tags/v1
git tag v1
git push --tags
```
## Information
About Bits is a company based in South Tyrol, Italy. You can find more information about us on [our website](https://aboutbits.it).
### Support
For support, please contact [info@aboutbits.it](mailto:info@aboutbits.it).
### Credits
- [All Contributors](../../contributors)
### License
The MIT License (MIT). Please see the [license file](license.md) for more information.