Skip to content

Copy base actions to required repos #88

Copy base actions to required repos

Copy base actions to required repos #88

name: Copy base actions to required repos
on:
workflow_dispatch:
inputs:
repo_name:
description: |
Specify name of the repository where workflows should be pushed manually.
If you do not specify exact repository name, the workflow will try to replicate all missing changes to all repositories.
required: true
jobs:
replicate_changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: derberg/manage-files-in-multiple-repositories@v2
with:
github_token: ${{ secrets.REPO_ADMIN_TOKEN_MH }}
patterns_to_include: '.github/release-drafter.yml,.github/labeler.yml,.github/workflows'
patterns_to_ignore: '.github/workflows/copy-base-actions.yml,.github/workflows/NewReleasePr.yml,.github/workflows/TagAndRelease.yml,.github/workflows/stats.yml,.github/workflows/copy-mobile-actions.yml,.github/workflows/commit-release-action-to-dev.yml,.github/workflows/commit-release-config-to-dev.yml'
bot_branch_name: 'ci/update-github-actions-workflows'