Skip to content

Commit e0c2b44

Browse files
committed
feat: trigger release
1 parent f50efbe commit e0c2b44

5 files changed

Lines changed: 90 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: pre-commit
3+
4+
permissions:
5+
id-token: write
6+
contents: write
7+
8+
on:
9+
workflow_dispatch:
10+
pull_request:
11+
branches:
12+
- "main"
13+
14+
jobs:
15+
pre-commit:
16+
uses: devops-roast/github-actions/.github/workflows/pre-commit.yaml@main
17+
with:
18+
auto_commit: true
19+
secrets: inherit
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: release
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
on:
9+
push:
10+
branches:
11+
- "main"
12+
paths:
13+
- "**/*.sh"
14+
- ".github/workflows/*.yaml"
15+
16+
jobs:
17+
release:
18+
uses: devops-roast/github-actions/.github/workflows/release-please-standard.yaml@main
19+
secrets: inherit

.pre-commit-config.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
exclude: |
2+
(?x)^(
3+
CHANGELOG.md|
4+
)$
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v6.0.0
8+
hooks:
9+
- id: check-added-large-files
10+
- id: check-merge-conflict
11+
- id: end-of-file-fixer
12+
- id: trailing-whitespace
13+
args: [--markdown-linebreak-ext=md]
14+
- id: check-merge-conflict
15+
- id: check-executables-have-shebangs
16+
- id: check-case-conflict
17+
- id: mixed-line-ending
18+
- id: detect-private-key
19+
20+
- repo: https://github.com/jumanjihouse/pre-commit-hooks
21+
rev: 3.0.0
22+
hooks:
23+
- id: shfmt
24+
name: shfmt
25+
args: ["-l", "-i", "2", "-ci", "-sr", "-w"]
26+
- id: shellcheck
27+
name: shellcheck
28+
29+
- repo: https://github.com/igorshubovych/markdownlint-cli
30+
rev: v0.45.0
31+
hooks:
32+
- id: markdownlint
33+
34+
- repo: https://github.com/executablebooks/mdformat
35+
rev: 0.7.22
36+
hooks:
37+
- id: mdformat
38+
name: mdformat
39+
additional_dependencies:
40+
- mdformat-toc
41+
42+
- repo: https://github.com/rhysd/actionlint
43+
rev: v1.7.7
44+
hooks:
45+
- id: actionlint
46+
name: actionlint

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# github-actions
2+
23
A collection of reusable GitHub Actions

mise.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tools]
2+
"pre-commit" = "4.1.0"
3+
"python" = "system"
4+
"shfmt" = "3.12.0"
5+
"shellcheck" = "0.11.0"

0 commit comments

Comments
 (0)