generated from platenio/platen-template
-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (38 loc) · 1.06 KB
/
hugo-module-deps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Update Hugo Modules
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main
defaults:
run:
shell: pwsh
jobs:
update_hugo_modules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update Hugo Modules
id: update-hugo-modules
uses: platenio/action-hugo-module-update@v1
- name: Check Update Outputs
run: |
"${{ fromJSON(steps.update-hugo-modules.outputs.results) }}"
- name: Create Pull Request
id: createpr
uses: peter-evans/create-pull-request@v3
with:
commit-message: (MAINT) Update Hugo Modules
title: (MAINT) Update Hugo Modules
body: |
Dependency updates:
```text
${{ fromJSON(steps.update-hugo-modules.outputs.results) }}
```
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: update-hugo-modules
base: main
delete-branch: true