2021-01-10 15:59:11 +00:00
|
|
|
name: 'Repo File Sync Action'
|
2021-01-08 20:47:49 +00:00
|
|
|
description: 'GitHub Action to Sync Files like Workflows Between Repositories.'
|
|
|
|
author: 'BetaHuhn'
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
GH_PAT:
|
|
|
|
description: |
|
|
|
|
GitHub Personal Access Token to use to get repos and write secrets
|
|
|
|
required: false
|
|
|
|
CONFIG_PATH:
|
|
|
|
description: |
|
|
|
|
The path for the sync configuration file
|
|
|
|
required: false
|
|
|
|
PR_LABELS:
|
|
|
|
description: |
|
2021-01-08 21:38:09 +00:00
|
|
|
Labels which will be added to the pull request. Defaults to sync. Set to false to turn off
|
2021-01-08 20:47:49 +00:00
|
|
|
required: false
|
|
|
|
ASSIGNEES:
|
|
|
|
description: |
|
|
|
|
People to assign to the pull request. Defaults to none
|
|
|
|
required: false
|
|
|
|
COMMIT_PREFIX:
|
|
|
|
description: |
|
|
|
|
Prefix for commit message and pull request title. Defaults to 🔄
|
|
|
|
required: false
|
|
|
|
COMMIT_EACH_FILE:
|
|
|
|
description: |
|
|
|
|
Commit each file seperately. Defaults to true
|
|
|
|
required: false
|
|
|
|
GIT_EMAIL:
|
|
|
|
description: |
|
|
|
|
The e-mail address used to commit the synced files. Defaults to the email of the GitHub PAT
|
|
|
|
required: false
|
|
|
|
GIT_USERNAME:
|
|
|
|
description: |
|
|
|
|
The username used to commit the synced files. Defaults to the username of the GitHub PAT
|
|
|
|
required: false
|
|
|
|
TMP_DIR:
|
|
|
|
description: |
|
|
|
|
The working directory where all sync operations will be done. Defaults to `tmp-${Date.now().toString()}`
|
|
|
|
required: false
|
|
|
|
DRY_RUN:
|
|
|
|
description: "Run everything except for nothing will be updated."
|
|
|
|
required: false
|
|
|
|
|
|
|
|
runs:
|
2021-01-08 22:38:47 +00:00
|
|
|
using: 'node12'
|
2021-01-08 20:47:49 +00:00
|
|
|
main: 'dist/index.js'
|
|
|
|
|
|
|
|
branding:
|
2021-01-10 16:13:26 +00:00
|
|
|
icon: 'git-pull-request'
|
2021-01-08 20:47:49 +00:00
|
|
|
color: 'gray-dark'
|