Template repository for GitHub Actions
Dockerized as devopsinfra/template-action.
This is just a template repository.
Features:
- Baseline for
Dockerfile
,entrypoint.sh
,Makefile
. - Templates for Pull Requests and Issues.
- Actions for a default automation.
- Includes Code of Conduct, Contributing and Codeowners.
- name: Run the Action
uses: devops-infra/[email protected]
env:
bazbar: barfoo
with:
foobar: bazbar
Environment Variable | Required | Description |
---|---|---|
bazbar | No | Environment variable for env: ... . |
Input Variable | Required | Default | Description |
---|---|---|---|
foobar | No | foobar |
Some input variable for with: ... . |
Outputs | Description |
---|---|
foobar | Output from action. |
Run the Action with defaults.
name: Run the Action on each commit
on:
push
jobs:
template-action:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run the Action
uses: devops-infra/[email protected]
Run the Action with set inputs.
name: Run the Action on each commit
on:
push
jobs:
template-action:
runs-on: ubuntu-latest
steps:
- name: Checkout repoistory
uses: actions/checkout@v2
- name: Run the Action
uses: devops-infra/[email protected]
env:
bar: foo
with:
bar: baz