Skip to content

Commit da10a28

Browse files
committed
Formatting
1 parent 109de65 commit da10a28

File tree

5 files changed

+79
-76
lines changed

5 files changed

+79
-76
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ end_of_line = lf
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

11+
[*.yml]
12+
indent_size = 2
13+
1114
[*.md]
1215
trim_trailing_whitespace = false

.github/dependabot.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
version: 2
55
updates:
66

7-
- package-ecosystem: "github-actions"
8-
directory: "/"
9-
schedule:
10-
interval: "weekly"
11-
labels:
12-
- "dependencies"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
labels:
12+
- "dependencies"
1313

14-
- package-ecosystem: "composer"
15-
directory: "/"
16-
schedule:
17-
interval: "weekly"
18-
commit-message:
19-
prefix: "Composer"
20-
labels:
21-
- "dependencies"
22-
- "composer"
14+
- package-ecosystem: "composer"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
commit-message:
19+
prefix: "Composer"
20+
labels:
21+
- "dependencies"
22+
- "composer"

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@ name: dependabot-auto-merge
22
on: pull_request_target
33

44
permissions:
5-
pull-requests: write
6-
contents: write
5+
pull-requests: write
6+
contents: write
77

88
jobs:
9-
dependabot:
10-
runs-on: ubuntu-latest
11-
if: ${{ github.actor == 'dependabot[bot]' }}
12-
steps:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: ${{ github.actor == 'dependabot[bot]' }}
12+
steps:
1313

14-
- name: Dependabot metadata
15-
id: metadata
16-
uses: dependabot/[email protected]
17-
with:
18-
github-token: "${{ secrets.GITHUB_TOKEN }}"
14+
- name: Dependabot metadata
15+
id: metadata
16+
uses: dependabot/[email protected]
17+
with:
18+
github-token: "${{ secrets.GITHUB_TOKEN }}"
1919

20-
- name: Auto-merge Dependabot PRs for semver-minor updates
21-
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' }}
22-
run: gh pr merge --auto --merge "$PR_URL"
23-
env:
24-
PR_URL: ${{ github.event.pull_request.html_url }}
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
- name: Auto-merge Dependabot PRs for semver-minor updates
21+
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' }}
22+
run: gh pr merge --auto --merge "$PR_URL"
23+
env:
24+
PR_URL: ${{ github.event.pull_request.html_url }}
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626

27-
- name: Auto-merge Dependabot PRs for semver-patch updates
28-
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
29-
run: gh pr merge --auto --merge "$PR_URL"
30-
env:
31-
PR_URL: ${{ github.event.pull_request.html_url }}
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
- name: Auto-merge Dependabot PRs for semver-patch updates
28+
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
29+
run: gh pr merge --auto --merge "$PR_URL"
30+
env:
31+
PR_URL: ${{ github.event.pull_request.html_url }}
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
name: Normalize Markdown
22

33
on:
4-
push:
5-
paths:
6-
- "*.md"
7-
- .github/workflows/markdown-normalize.yml
4+
push:
5+
paths:
6+
- "*.md"
7+
- .github/workflows/markdown-normalize.yml
88

99
jobs:
10-
normalize:
11-
timeout-minutes: 1
12-
runs-on: ubuntu-latest
13-
steps:
14-
- name: Git checkout
15-
uses: actions/checkout@v3
16-
with:
17-
ref: ${{ github.head_ref }}
18-
fetch-depth: 0
10+
normalize:
11+
timeout-minutes: 1
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Git checkout
15+
uses: actions/checkout@v3
16+
with:
17+
ref: ${{ github.head_ref }}
18+
fetch-depth: 0
1919

20-
- name: Prettify markdown
21-
uses: creyD/[email protected]
22-
with:
23-
prettier_options: --write **/*.md
24-
only_changed: True
20+
- name: Prettify markdown
21+
uses: creyD/[email protected]
22+
with:
23+
prettier_options: --write **/*.md
24+
only_changed: True
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: "Update Changelog"
22

33
on:
4-
release:
5-
types: [released]
4+
release:
5+
types: [released]
66

77
jobs:
8-
update:
9-
runs-on: ubuntu-latest
8+
update:
9+
runs-on: ubuntu-latest
1010

11-
steps:
12-
- name: Checkout code
13-
uses: actions/checkout@v3
14-
with:
15-
ref: main
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
with:
15+
ref: main
1616

17-
- name: Update Changelog
18-
uses: stefanzweifel/changelog-updater-action@v1
19-
with:
20-
latest-version: ${{ github.event.release.name }}
21-
release-notes: ${{ github.event.release.body }}
17+
- name: Update Changelog
18+
uses: stefanzweifel/changelog-updater-action@v1
19+
with:
20+
latest-version: ${{ github.event.release.name }}
21+
release-notes: ${{ github.event.release.body }}
2222

23-
- name: Commit updated CHANGELOG
24-
uses: stefanzweifel/git-auto-commit-action@v5
25-
with:
26-
branch: main
27-
commit_message: Update CHANGELOG
28-
file_pattern: CHANGELOG.md
23+
- name: Commit updated CHANGELOG
24+
uses: stefanzweifel/git-auto-commit-action@v5
25+
with:
26+
branch: main
27+
commit_message: Update CHANGELOG
28+
file_pattern: CHANGELOG.md

0 commit comments

Comments
 (0)