Skip to content

Commit a99e83c

Browse files
committed
Add some Github workflows
1 parent a8e5e0e commit a99e83c

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
labels:
8+
- "CI"
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2+
3+
name: "Continuous Integration for shell scripts"
4+
5+
on:
6+
pull_request:
7+
paths:
8+
- ".github/workflows/ci-shell-scripts.yml"
9+
- "bin/**"
10+
push:
11+
branches:
12+
- "*.*.x"
13+
paths:
14+
- ".github/workflows/ci-shell-scripts.yml"
15+
- "bin/**"
16+
schedule:
17+
- cron: "0 17 * * *"
18+
19+
jobs:
20+
lint-shell-scripts:
21+
name: "Lint shell scripts"
22+
23+
runs-on: "ubuntu-22.04"
24+
25+
steps:
26+
- name: "Checkout"
27+
uses: "actions/checkout@v5"
28+
29+
- name: "Lint shell scripts with ShellCheck"
30+
uses: "ludeeus/[email protected]"
31+
with:
32+
scandir: "./bin"
33+
check_together: "yes"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Composer Lint"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "*.x"
7+
paths:
8+
- ".github/workflows/composer-lint.yml"
9+
- "composer.json"
10+
push:
11+
branches:
12+
- "*.x"
13+
paths:
14+
- ".github/workflows/composer-lint.yml"
15+
- "composer.json"
16+
17+
jobs:
18+
composer-lint:
19+
name: "Composer Lint"
20+
uses: "doctrine/.github/.github/workflows/composer-lint.yml@9cfa15f09ecce61912ae40b5befa8e920c4a98a4"

0 commit comments

Comments
 (0)