Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Small updates 🦃 #2711

Merged
merged 14 commits into from
Nov 24, 2022
10 changes: 9 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
name: linter

on: [pull_request]
on:
pull_request:
branches:
- "main"
paths-ignore:
- 'runatlantis.io/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
golangci-lint:
if: github.event.pull_request.draft == false
name: runner / golangci-lint
runs-on: ubuntu-22.04
steps:
Expand All @@ -20,6 +26,7 @@ jobs:

# Use revive via golangci-lint binary with "warning" level.
revive:
if: github.event.pull_request.draft == false
name: runner / revive
runs-on: ubuntu-22.04
steps:
Expand All @@ -34,6 +41,7 @@ jobs:

# You can add more and more supported linters with different config.
errcheck:
if: github.event.pull_request.draft == false
name: runner / errcheck
runs-on: ubuntu-22.04
steps:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ on:
push:
branches:
- "main"
paths-ignore:
- 'runatlantis.io/**'
pull_request:
branches:
- "main"
paths-ignore:
- 'runatlantis.io/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
if: github.event.pull_request.draft == false
name: runner / gotest
runs-on: ubuntu-22.04
container: ghcr.io/runatlantis/testing-env:2022.11.17
Expand Down
4 changes: 3 additions & 1 deletion runatlantis.io/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ module.exports = {
'checkout-strategy',
'terraform-versions',
'terraform-cloud',
'using-slack-hooks'
'using-slack-hooks',
'stats',
'faq'
]
},
{
Expand Down
Loading