An open API service indexing awesome lists of open source software.

https://github.com/subhamay-bhattacharyya-gha/github-action-template

GitHub Composite Action: A Starter Template for GitHub Composite Action
https://github.com/subhamay-bhattacharyya-gha/github-action-template

chatgpt completed github-action github-codespace github-composite-action github-copilot openai semantic-release-plugin

Last synced: 1 day ago
JSON representation

GitHub Composite Action: A Starter Template for GitHub Composite Action

Awesome Lists containing this project

README

          

# GitHub Action Template Repository

![Built with Copilot](https://img.shields.io/badge/Built_with-Copilot-brightgreen?logo=github) ![Release](https://github.com/subhamay-bhattacharyya-gha/github-action-template/actions/workflows/release.yaml/badge.svg) ![Commit Activity](https://img.shields.io/github/commit-activity/t/subhamay-bhattacharyya-gha/github-action-template) ![Last Commit](https://img.shields.io/github/last-commit/subhamay-bhattacharyya-gha/github-action-template) ![Release Date](https://img.shields.io/github/release-date/subhamay-bhattacharyya-gha/github-action-template) ![Repo Size](https://img.shields.io/github/repo-size/subhamay-bhattacharyya-gha/github-action-template) ![File Count](https://img.shields.io/github/directory-file-count/subhamay-bhattacharyya-gha/github-action-template) ![Issues](https://img.shields.io/github/issues/subhamay-bhattacharyya-gha/github-action-template) ![Top Language](https://img.shields.io/github/languages/top/subhamay-bhattacharyya-gha/github-action-template) ![Custom Endpoint](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/bsubhamay/06e35985280456b113298ed56c626e73/raw/github-action-template.json?)

A Template GitHub Repository to be used to create a composite action.

## Action Name

### Action Description

This GitHub Action provides a reusable composite workflow that sets up Python and interacts with the GitHub API to post a comment on an issue, including a link to a created branch.

---

## Inputs

| Name | Description | Required | Default |
|----------------|---------------------|----------|----------------|
| `input-1` | Input description. | No | `default-value`|
| `input-2` | Input description. | No | `default-value`|
| `input-3` | Input description. | No | `default-value`|
| `github-token` | GitHub token. Used for API authentication. | Yes | — |

---

## Example Usage

```yaml
name: Example Workflow

on:
issues:
types: [opened]

jobs:
example:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Custom Action
uses: your-org/your-action-repo@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
input-1: your-value
input-2: another-value
input-3: something-else
```

## License

MIT