-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (37 loc) Β· 1 KB
/
dot.move-winfiles.yaml
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
name: 'Move winfiles'
run-name: 'Move winfiles'
on:
push:
branches:
- main
paths:
- '.github/**'
- 'docs/images/**'
- 'winfiles/**'
- '!winfiles/README.md'
concurrency:
group: ${{ github.workflow }}
permissions:
contents: write
env:
targetBranchName: 'winfiles'
otherSharedFiles: 'genfiles/vscode/vscode.json genfiles/browsers' # space separated
otherDirs: 'docs/images genfiles' # space separated
jobs:
move-files:
runs-on: ubuntu-latest
name: ${{ github.workflow }}
steps:
- name: 'Checkout repository'
id: checkout-repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Move ${{ env.targetBranchName }} branch files'
id: move-branch-files
uses: ./.github/actions/templates/moveFiles
continue-on-error: true
with:
targetBranchName: ${{ env.targetBranchName }}
# otherSharedFiles: ${{ env.otherSharedFiles }}
otherDirs: ${{ env.otherDirs }}