Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
feat(gh): add default GitHub repo files (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap authored Feb 6, 2024
1 parent 0c7add3 commit 435ecf9
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 22 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Links
---
name: links

on:
workflow_dispatch:
Expand All @@ -12,7 +13,7 @@ on:
permissions: read-all

jobs:
linkChecker:
links:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/markdown-check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: markdown-check

on:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: MegaLinter
name: mega-linter

on:
workflow_dispatch:
Expand All @@ -10,8 +10,7 @@ on:
permissions: read-all

jobs:
build:
name: MegaLinter
mega-linter:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
Expand All @@ -28,7 +27,7 @@ jobs:
run: |
set -euxo pipefail
echo '#!/usr/bin/env bash' > README.sh
find . -name '*.md' -print0 | while IFS= read -r -d '' FILE ; do
find . -name '*.md' -print0 | while IFS= read -r -d '' FILE; do
# Extract: ```bash ... ```
sed -n "/^\`\`\`\(bash\|shell\)$/,/^\`\`\`$/p" "${FILE}" | sed '/^```*/d' >> README.sh
# Extract: ```bash ... ```
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
pull-requests: write

jobs:
release-please-pr:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e # v4.0.2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Renovate
name: renovate

on:
workflow_dispatch:
Expand All @@ -20,7 +20,7 @@ on:
- main
- "!renovate/*"
schedule:
- cron: "0 0,2,4 * * *"
- cron: "0 0,2,4 * * 0"

env:
# https://docs.renovatebot.com/troubleshooting/#log-debug-levels
Expand All @@ -44,7 +44,7 @@ jobs:
renovate:
runs-on: ubuntu-latest
concurrency:
group: renovate
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Semantic Pull Request
---
name: semantic-pull-request

on:
pull_request_target:
Expand All @@ -11,8 +12,7 @@ permissions:
pull-requests: read

jobs:
main:
name: Semantic Pull Request
semantic-pull-request:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Close stale issues and PRs
---
name: stale

on:
schedule:
Expand All @@ -9,7 +10,7 @@ permissions:
pull-requests: write

jobs:
mark-stale-issues-and-prs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
Expand Down
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ kubeconfig*.conf*

# Vuepress Pages
docs/.vuepress/dist
docs/.vuepress/.temp/
docs/.vuepress/.cache/

# tmp directory
tmp/
Expand All @@ -20,8 +18,3 @@ README.sh

# demo-magic.sh script
demo-magic.sh

# Terraform files
.terraform
*.tfstate*
crash.log

0 comments on commit 435ecf9

Please sign in to comment.