-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from prithvikumardetne/bot/manual-update-globa…
…l-workflow-main-r49kva Single Repo Commit
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | | ||
Updating it to gitpractice repo | ||
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.MANAGE_FILES_TOKEN }} | ||
patterns_to_include: single-repo.yaml | ||
committer_username: [email protected] | ||
committer_email: [email protected] | ||
commit_message: "Single Repo Commit" |