https://github.com/vbem/reusable
Yet another repository of reusable workflows for GitHub Actions
https://github.com/vbem/reusable
Last synced: 4 months ago
JSON representation
Yet another repository of reusable workflows for GitHub Actions
- Host: GitHub
- URL: https://github.com/vbem/reusable
- Owner: vbem
- License: apache-2.0
- Created: 2023-09-22T02:37:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T16:27:13.000Z (about 2 years ago)
- Last Synced: 2025-01-20T05:09:45.121Z (over 1 year ago)
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Yet another repository of reusable workflows
[](https://docs.github.com/en/actions/using-workflows/reusing-workflows)
[](LICENSE)
[](https://github.com/vbem/reusable/releases)
[](https://github.com/vbem/reusable/actions/workflows/superlinter.test.yml)
[](https://github.com/vbem/reusable/actions/workflows/keepalive.test.yml)
## `superlinter`
[`superlinter.yml`](.github/workflows/superlinter.yml) predefined generic configurations for the well-known [*Super-Linter* action](https://github.com/marketplace/actions/super-linter). Create `.github/workflows/linter.yaml` in your repository:
```yaml
---
name: Linter
concurrency:
group: ${{ github.workflow }}@${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [master, main]
workflow_dispatch:
jobs:
calling:
permissions:
contents: read
packages: read
statuses: write
uses: vbem/reusable/.github/workflows/superlinter.yml@v1
...
```
## `keepalive`
[`keepalive.yml`](.github/workflows/keepalive.yml) is a wrapper the well-known [*Keepalive Workflow* action](https://github.com/marketplace/actions/keepalive-workflow). Create `.github/workflows/alive.yaml` in your repository:
```yaml
---
name: Alive
on:
schedule: [ cron: '0 0 * * 1,3,5' ] # in UTC-0 timezone
workflow_dispatch:
jobs:
calling:
permissions:
contents: write
uses: vbem/reusable/.github/workflows/keepalive.yml@v1
...
```