Skip to content

Commit 4879c72

Browse files
committed
GitHub Actions: Use typisttech/.github v3
1 parent 2b0d947 commit 4879c72

File tree

10 files changed

+80
-192
lines changed

10 files changed

+80
-192
lines changed

.github/codecov.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/audit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Audit
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '16 3 * * 1' # Weekly on Monday
7+
pull_request:
8+
branches:
9+
- main
10+
push:
11+
branches:
12+
- main
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref_name }}
16+
cancel-in-progress: true
17+
18+
permissions:
19+
contents: read
20+
21+
jobs:
22+
php:
23+
uses: typisttech/.github/.github/workflows/audit-php.yml@v3

.github/workflows/composer-audit.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/composer-normalize.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/dependabot-auto-merge.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
1010
cancel-in-progress: true
1111

12-
permissions: {}
12+
permissions:
13+
contents: write
14+
pull-requests: write
1315

1416
jobs:
1517
dependabot:
16-
permissions:
17-
contents: write
18-
pull-requests: write
19-
uses: typisttech/.github/.github/workflows/dependabot-auto-merge.yml@v2
18+
uses: typisttech/.github/.github/workflows/dependabot-auto-merge.yml@v3
2019
with:
2120
minor: true
2221
patch: true

.github/workflows/format.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Format
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref_name }}
11+
cancel-in-progress: true
12+
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
17+
jobs:
18+
php:
19+
uses: typisttech/.github/.github/workflows/format-php.yml@v3
20+
secrets: inherit

.github/workflows/lint.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lint
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- main
8+
push:
9+
branches:
10+
- main
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
14+
cancel-in-progress: true
15+
16+
permissions:
17+
contents: read
18+
19+
jobs:
20+
php:
21+
uses: typisttech/.github/.github/workflows/lint-php.yml@v3
22+
23+
wait-for-all-lint:
24+
needs:
25+
- php
26+
runs-on: ubuntu-latest
27+
steps:
28+
- run: exit 0

.github/workflows/pint.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/release-drafter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ permissions: {}
1414

1515
jobs:
1616
release-drafter:
17-
uses: typisttech/.github/.github/workflows/release-drafter.yml@v2
17+
runs-on: ubuntu-latest
1818
permissions:
1919
contents: write
2020
pull-requests: read
21+
steps:
22+
- uses: release-drafter/release-drafter@v6
23+
env:
24+
GITHUB_TOKEN: ${{ github.token }} # Not a typo.

.github/workflows/test.yml

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)