A Template GitHub Repository to be used to create a composite action.
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.
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 | — |
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
MIT