Skip to content

Move winfiles

Move winfiles #14

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: '' # space separated
otherDirs: 'genfiles/images genfiles/vscode' # 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 }}