Skip to content

half-ogre/github-actions

Repository files navigation

Half-Ogre's GitHub Actions

License: MIT GitHub Actions

A collection of reusable GitHub Actions I use across my projects.

Note: While this repository is public, it's designed for and used on my perrsonal projects. That said, pull requests and issues are welcome.

Actions

Action Description Key Inputs Key Outputs
create-issue Create GitHub issues with standardized formatting and labels issue-title, issue-label, github-token issue-number
find-issue Search for existing open issues by title to prevent duplicates issue-title, github-token issue-number, issue-exists
close-issue Close issues with optional comments and proper state reasons issue-number, github-token, comment-body (optional) comment-id
comment-issue Add automated comments to existing issues issue-number, comment-body, github-token comment-id
get-latest-semver-tag Get the latest semantic version tag from the current repository (supports pre-release and build metadata) prefix (optional), default-version (optional) tag, version, major, minor, patch, prerelease, build, found
get-next-semver Calculate the next semantic version based on increment type current-version, increment-major (optional), increment-minor (optional), prefix (optional) version, version-core, major, minor, patch, increment-type

Use

Using Actions in Your Repository

Reference actions from this repository using the standard GitHub Actions syntax:

- name: Create approval issue
  uses: half-ogre/github-actions/create-issue@main
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}
    issue-title: "Deployment Approval Required"
    issue-label: "deployment-approval"
    issue-body: |
      Please review and approve this deployment.

For detailed documentation on each action, click the action name in the table above to view its individual README.

Versioning

This repository uses Semantic Versioning (SemVer) for versioning. Each release will be tagged with its full version (e.g., v1.2.3). The latest release of each major version will also be tagged with v{Major} (e.g., v1) and that tag will move to the latest version as new versions are released.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

No Support Guarantee: This repository is provided as-is without any warranty or support guarantee, as outlined in the LICENSE. I will review issues and pull requests as my time allows, but response times are not guaranteed.

For questions, issues, or feature requests:

  1. Check existing Issues
  2. Create a new issue with detailed description
  3. Understand that review and response depend on team availability

About

A collection of reusable GitHub Actions I use across my projects

Resources

License

Stars

Watchers

Forks