diff --git a/.github/workflows/manage-files.yaml b/.github/workflows/manage-files.yaml index f4db414..759602e 100644 --- a/.github/workflows/manage-files.yaml +++ b/.github/workflows/manage-files.yaml @@ -27,5 +27,5 @@ jobs: #destination: 'gitpractice' committer_username: prithvikumar.detne@gmail.com committer_email: prithvikumar.detne@gmail.com - commit_message: "Committing only for Topic repos" + commit_message: "Validating Auto Merge" bot_branch_name: true diff --git a/.github/workflows/single-repo.yaml b/.github/workflows/single-repo.yaml new file mode 100644 index 0000000..eeca831 --- /dev/null +++ b/.github/workflows/single-repo.yaml @@ -0,0 +1,32 @@ +name: Global workflow to rule workflow + +on: + push: + branches: [ master ] + paths: + - '.github/workflows/**' + - 'single-repo.yaml' + #- 'CONTRIBUTING.md' + workflow_dispatch: + inputs: + repo_name: + description: | + Repo Name + required: true + +jobs: + + replicate_single: + name: Replicating Single Repo + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Replicating file + uses: derberg/manage-files-in-multiple-repositories@v2 + with: + github_token: ${{ secrets.MANAGE_FILES_TOKEN }} + patterns_to_include: single-repo.yaml + committer_username: prithvikumar.detne@gmail.com + committer_email: prithvikumar.detne@gmail.com + commit_message: "Validating Auto Merge " diff --git a/.github/workflows/text.yaml b/.github/workflows/text.yaml deleted file mode 100644 index 8b13789..0000000 --- a/.github/workflows/text.yaml +++ /dev/null @@ -1 +0,0 @@ -