Skip to content

Move winfiles

Move winfiles #7

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 wslfiles/.config' # space separated
otherDirs: 'docs/images genfiles/browsers' # 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 }}