mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-06 17:40:58 +00:00
Update docs, file formatting and docker images (#766)
* docs: fix wrong licence link * fix: add more formatting settings, reformat all feat: add vscode extensions recommendations * docs: update contributing documentation * fix: remove unnecessary comment it was due to broken checkout * docs: rework installation section it has been brought up few times, new style should be easier to understand * docs: update images provided by catthehacker * docs: replace 18.04 with recent image * fix: add final new line
This commit is contained in:
parent
4eb45d4c4b
commit
ad2470a735
8 changed files with 24 additions and 24 deletions
2
.github/ISSUE_TEMPLATE/feature_template.md
vendored
2
.github/ISSUE_TEMPLATE/feature_template.md
vendored
|
@ -3,7 +3,7 @@ name: Feature request
|
||||||
about: Use this template for requesting a feature/enhancement.
|
about: Use this template for requesting a feature/enhancement.
|
||||||
title: "Enhancement: "
|
title: "Enhancement: "
|
||||||
labels: "kind/feature-request"
|
labels: "kind/feature-request"
|
||||||
assignees: ''
|
assignees: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
## Describe feature
|
## Describe feature
|
||||||
|
|
2
.github/ISSUE_TEMPLATE/issue_template.md
vendored
2
.github/ISSUE_TEMPLATE/issue_template.md
vendored
|
@ -3,7 +3,7 @@ name: Issue
|
||||||
about: Use this template for reporting a bug/issue.
|
about: Use this template for reporting a bug/issue.
|
||||||
title: "Issue: <shortly describe issue>"
|
title: "Issue: <shortly describe issue>"
|
||||||
labels: kind/bug
|
labels: kind/bug
|
||||||
assignees: ''
|
assignees: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
2
.github/actions/choco/action.yml
vendored
2
.github/actions/choco/action.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: 'Chocolatey Packager'
|
name: 'Chocolatey Packager'
|
||||||
description: 'Create the choco package and push it'
|
description: 'Create the choco package and push it'
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'Version of package'
|
description: 'Version of package'
|
||||||
required: true
|
required: true
|
||||||
apiKey:
|
apiKey:
|
||||||
|
|
2
.github/actions/composite/action.yml
vendored
2
.github/actions/composite/action.yml
vendored
|
@ -10,7 +10,7 @@ outputs:
|
||||||
description: 'Output string'
|
description: 'Output string'
|
||||||
value: ${{ steps.set-output.outputs.string }}
|
value: ${{ steps.set-output.outputs.string }}
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- run: echo Hello ${{ inputs.input }}.
|
- run: echo Hello ${{ inputs.input }}.
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
2
.github/actions/composite/script.sh
vendored
2
.github/actions/composite/script.sh
vendored
|
@ -1 +1 @@
|
||||||
echo "Output from script"
|
echo "Output from script"
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -1,5 +1,5 @@
|
||||||
name: release
|
name: release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
|
|
30
.github/workflows/stale.yml
vendored
30
.github/workflows/stale.yml
vendored
|
@ -1,23 +1,23 @@
|
||||||
name: "Close stale issues"
|
name: 'Close stale issues'
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
name: Stale
|
name: Stale
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v3
|
- uses: actions/stale@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: 'Issue is stale and will be closed in 14 days unless there is new activity'
|
stale-issue-message: 'Issue is stale and will be closed in 14 days unless there is new activity'
|
||||||
stale-pr-message: 'PR is stale and will be closed in 14 days unless there is new activity'
|
stale-pr-message: 'PR is stale and will be closed in 14 days unless there is new activity'
|
||||||
stale-issue-label: 'stale'
|
stale-issue-label: 'stale'
|
||||||
exempt-issue-labels: 'stale-exempt'
|
exempt-issue-labels: 'stale-exempt'
|
||||||
stale-pr-label: 'stale'
|
stale-pr-label: 'stale'
|
||||||
exempt-pr-labels: 'stale-exempt'
|
exempt-pr-labels: 'stale-exempt'
|
||||||
remove-stale-when-updated: 'True'
|
remove-stale-when-updated: 'True'
|
||||||
operations-per-run: 500
|
operations-per-run: 500
|
||||||
days-before-stale: 30
|
days-before-stale: 30
|
||||||
days-before-close: 14
|
days-before-close: 14
|
||||||
|
|
|
@ -308,11 +308,11 @@ func defaultImageSurvey(actrc string) error {
|
||||||
var option string
|
var option string
|
||||||
switch answer {
|
switch answer {
|
||||||
case "Large":
|
case "Large":
|
||||||
option = "-P ubuntu-18.04=nektos/act-environments-ubuntu:18.04"
|
option = "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-latest\n-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04\n-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:full-18.04\n"
|
||||||
case "Medium":
|
case "Medium":
|
||||||
option = "-P ubuntu-latest=catthehacker/ubuntu:act-latest\n-P ubuntu-20.04=catthehacker/ubuntu:act-20.04\n-P ubuntu-18.04=catthehacker/ubuntu:act-18.04\nubuntu-16.04=catthehacker/ubuntu:act-16.04"
|
option = "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest\n-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04\n-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04\n-P ubuntu-16.04=ghcr.io/catthehacker/ubuntu:act-16.04\n"
|
||||||
case "Micro":
|
case "Micro":
|
||||||
option = "-P ubuntu-latest=node:12-buster-slim\n-P ubuntu-20.04=node:12-buster-slim\n-P ubuntu-18.04=node:12-buster-slim\n-P ubuntu-16.04=node:12-stretch-slim"
|
option = "-P ubuntu-latest=node:12-buster-slim\n-P ubuntu-20.04=node:12-buster-slim\n-P ubuntu-18.04=node:12-buster-slim\n-P ubuntu-16.04=node:12-stretch-slim\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
f, err := os.Create(actrc)
|
f, err := os.Create(actrc)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue