Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pho9ubenaa/gh-action-templates
Reusable Workflows for GitHub Actions
https://github.com/pho9ubenaa/gh-action-templates
Last synced: 8 days ago
JSON representation
Reusable Workflows for GitHub Actions
- Host: GitHub
- URL: https://github.com/pho9ubenaa/gh-action-templates
- Owner: pHo9UBenaA
- License: mit
- Created: 2024-12-01T01:25:01.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2025-01-15T05:23:24.000Z (23 days ago)
- Last Synced: 2025-01-15T07:18:11.943Z (22 days ago)
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Actions Templates
This repository contains reusable GitHub Actions workflows designed for various use cases such as CI/CD pipelines and automation tasks.
## Usage
To use these workflows in your repository:
1. Reference the reusable workflow in your `.github/workflows/` YAML file.
2. Provide the required inputs (if any).### Basic Syntax for Calling a Reusable Workflow
```yaml
jobs:
job-name:
uses: //.github/workflows/@
with:
# Specify the required inputs here
```---
## Templates and How to Call Them
### **Bun CI Template**
A CI workflow for projects using Bun.
```yaml
jobs:
bun-ci-job:
uses: pHo9UBenaA/gh-action-templates/.github/workflows/bun-ci.yml@main
```---
### **Chrome Extension Upload Template**
A workflow to automatically upload a Chrome extension.
```yaml
jobs:
upload-chrome-extension:
uses: pHo9UBenaA/gh-action-templates/.github/workflows/chrome-extension-upload.yml@main
with:
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}
extension-id: "your-extension-id"
file-path: "./path/to/extension.zip"
publish: "true" # Set to "false" if you don't want to publish immediately
```---
### **Deno CI Template**
A CI workflow for projects using Deno.
```yaml
jobs:
deno-ci-job:
uses: pHo9UBenaA/gh-action-templates/.github/workflows/deno-ci.yml@main
```---
## Prerequisites
- **Repository Permissions**: Verify that the repository has appropriate permissions for writing, publishing, or other necessary actions.
--
## License
This project is licensed under the [MIT License](LICENSE). See the license file for more details.