Skip to content

Commit

Permalink
Committing only for Topic repos
Browse files Browse the repository at this point in the history
  • Loading branch information
prithvikumardetne committed May 3, 2024
1 parent b4b84e0 commit 5f5a96f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/single-repo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Global workflow to rule them all

on:
push:
branches: [ master ]
paths:
- '.github/workflows/**'
- 'single-repo.yaml'
#- 'CONTRIBUTING.md'
workflow_dispatch:
inputs:
repo_name:
description: |
gitpractice
required: false

jobs:

replicate_coc:
name: Replicate Code of Conduct in all repositories
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.GH_TOKEN }}
patterns_to_include: single-repo.yaml
committer_username: [email protected]
committer_email: [email protected]
commit_message: "Single Repo Commit"
1 change: 0 additions & 1 deletion .github/workflows/text.yaml

This file was deleted.

0 comments on commit 5f5a96f

Please sign in to comment.