Skip to content

Commit 62b49c1

Browse files
committed
Don't create PRs for include resolves
This only adds extra work for dubious benefits
1 parent b84f84a commit 62b49c1

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

.github/workflows/includes.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: +Mᐁ includes
1+
name: +M▼ includes
22
on:
33
workflow_dispatch:
44
push:
@@ -28,20 +28,13 @@ jobs:
2828
with:
2929
token: ${{ env.GH_TOKEN }}
3030

31-
- name: +Mᐁ includes
32-
uses: devlooped/actions-includes@v1
31+
- name: +M▼ includes
32+
uses: devlooped/actions-include@v4
3333

34-
- name: ✍ pull request
35-
uses: peter-evans/create-pull-request@v6
36-
with:
37-
add-paths: '**.md'
38-
base: main
39-
branch: markdown-includes
40-
delete-branch: true
41-
labels: docs
42-
author: ${{ env.BOT_AUTHOR }}
43-
committer: ${{ env.BOT_AUTHOR }}
44-
commit-message: +Mᐁ includes
45-
title: +Mᐁ includes
46-
body: +Mᐁ includes
47-
token: ${{ env.GH_TOKEN }}
34+
- name: ✍ commit
35+
run: |
36+
git config --local user.name ${{ env.BOT_AUTHOR }}
37+
git config --local user.email ${{ env.BOT_EMAIL }}
38+
git add .
39+
git commit -m "+M▼ includes" || exit 0
40+
git push

0 commit comments

Comments
 (0)