Skip to content

Commit 544dee7

Browse files
authored
Initial commit
0 parents  commit 544dee7

6 files changed

Lines changed: 84 additions & 0 deletions

File tree

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Merge Overview

.github/dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
updates:
3+
# - package-ecosystem: "gomod"
4+
# directory: "/"
5+
# schedule:
6+
# interval: "daily"
7+
# assignees:
8+
# - "maro114510"
9+
# cooldown:
10+
# default-days: 5
11+
- package-ecosystem: "github-actions"
12+
directory: "/"
13+
schedule:
14+
interval: "daily"
15+
assignees:
16+
- "maro114510"
17+
cooldown:
18+
default-days: 5

.github/workflows/.gitkeep

Whitespace-only changes.

.github/workflows/auto-merge.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Dependabot auto-merge
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
types:
7+
- opened
8+
9+
jobs:
10+
dependabot-automation:
11+
runs-on: ubuntu-latest
12+
if: ${{ github.actor == 'dependabot[bot]' }}
13+
timeout-minutes: 15
14+
15+
permissions:
16+
pull-requests: write # need to approve/merge
17+
contents: write # need to merge
18+
issues: write # need to append label
19+
repository-projects: write # need to change pull request title
20+
21+
steps:
22+
- name: Dependabot metadata
23+
id: metadata
24+
uses: dependabot/fetch-metadata@v2.4.0
25+
with:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
- name: Approve & enable auto-merge for Dependabot PR
28+
if: |
29+
steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
30+
steps.metadata.outputs.update-type == 'version-update:semver-minor'
31+
run: |
32+
gh pr review --approve "$PR_URL"
33+
gh pr edit "$PR_URL" -t "(auto merged) $PR_TITLE"
34+
gh pr merge --auto --merge "$PR_URL"
35+
env:
36+
PR_URL: ${{ github.event.pull_request.html_url }}
37+
PR_TITLE: ${{ github.event.pull_request.title }}
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) Nohira Atsuki. All rights reserved.
2+
3+
# Environments
4+
.env
5+
6+
### others ###
7+
# *.jpg
8+
# *.png
9+
# *.mp4
10+
# *.json
11+
12+
13+
### macOS ###
14+
# General
15+
.DS_Store
16+
17+
18+
# End Of Ignore

0 commit comments

Comments
 (0)