Skip to content

Commit 6e81d85

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/bug-with-relative-paths
2 parents 07016a7 + 7115bd9 commit 6e81d85

File tree

5 files changed

+113
-1
lines changed

5 files changed

+113
-1
lines changed

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
updates:
3+
4+
- package-ecosystem: npm
5+
directory: "/"
6+
schedule:
7+
interval: monthly
8+
open-pull-requests-limit: 10
9+
labels:
10+
- dependencies
11+
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: monthly
16+
labels:
17+
- dependencies

.github/release-drafter.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name-template: 'v$NEXT_PATCH_VERSION 🌈'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'enhancement'
7+
- title: '🐛 Bug Fixes'
8+
labels:
9+
- 'bug'
10+
- title: '🧰 Maintenance'
11+
labels:
12+
- 'chore'
13+
- 'dependencies'
14+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
15+
template: |
16+
## What's Changed
17+
18+
$CHANGES
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: On pull request merged
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
types:
8+
- closed
9+
10+
jobs:
11+
update_release_draft:
12+
runs-on: ubuntu-latest
13+
if: github.event.pull_request.merged == true
14+
steps:
15+
- uses: release-drafter/release-drafter@v5
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Test and build
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version:
16+
- 16.x
17+
18+
steps:
19+
- name: Checkouting code...
20+
uses: actions/checkout@v2
21+
with:
22+
ref: ${{ github.head_ref }}
23+
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v1
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
29+
- name: NPM install
30+
run: npm install
31+
32+
- name: NPM build
33+
run: npm run build
34+
35+
- name: NPM format
36+
run: npm run format
37+
38+
- name: NPM format check
39+
run: npm run format-check
40+
41+
- name: Lint
42+
run: npm run lint
43+
44+
- name: Pack
45+
run: npm run pack
46+
47+
commit_and_push:
48+
49+
runs-on: ubuntu-latest
50+
name: Commit and push build if needed
51+
needs: build
52+
53+
steps:
54+
-
55+
uses: stefanzweifel/git-auto-commit-action@v4
56+
with:
57+
commit_message: Automatically builded and updated
58+
file_pattern: dist/*.js
59+
skip_fetch: true
60+
skip_checkout: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![License](https://img.shields.io/github/license/impresscms-dev/flattern-markdown-folder-structure-action.svg)](LICENSE)
22
[![GitHub release](https://img.shields.io/github/release/impresscms-dev/flattern-markdown-folder-structure-action.svg)](https://github.com/impresscms-dev/generate-php-project-classes-list-file-action/releases)
33

4-
# Flatter MarkDown folder structure
4+
# Flattern MarkDown folder structure
55

66
GitHub action to flattern file structure with [MarkDown](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) data.
77

0 commit comments

Comments
 (0)