-
Notifications
You must be signed in to change notification settings - Fork 3.4k
47 lines (42 loc) · 1.28 KB
/
docs-tutorials.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
45
46
47
name: Update tutorials
on:
pull_request:
branches: ["master"]
paths:
- ".github/workflows/docs-tutorials.yml"
schedule:
# on Sundays
- cron: "0 0 * * 0"
workflow_dispatch: {}
defaults:
run:
shell: bash
jobs:
docs-udpate:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
lfs: true
- run: git submodule status
- run: git submodule update --remote --force
- run: git submodule status
- run: git status
- name: Create Pull Request
if: github.event_name != 'pull_request'
uses: peter-evans/create-pull-request@v5
with:
title: "update ref to latest tutorials"
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit-message: "update tutorials to ..."
body: "**This is automated update with latest lighting tutorials!**"
branch: "docs/update-tutorials"
delete-branch: true # Delete the branch when closing pull requests, and when undeleted after merging.
token: ${{ secrets.PAT_GHOST }}
labels: |
docs
assignees: borda
reviewers: borda