Skip to content

Commit c4313a2

Browse files
committed
feat: add branch-merge action
1 parent e44e59f commit c4313a2

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.docsifytopdfrc.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
contents: [ "summary.md" ],
3+
pathToPublic: "pdf/advanced-java.pdf",
4+
pdfOptions: "<options for puppeteer.pdf()>",
5+
removeTemp: true,
6+
emulateMedia: "screen",
7+
}

.github/workflows/branch-merge.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Merge Branch
2+
3+
on:
4+
push:
5+
branches: [ imgbot ]
6+
7+
jobs:
8+
merge-branch:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: everlytic/branch-merge@1.1.0
13+
with:
14+
github_token: ${{ github.token }}
15+
source_ref: ${{ github.ref }}
16+
target_branch: 'master'
17+
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'

0 commit comments

Comments
 (0)