Skip to content

Commit

Permalink
Merge pull request #3 from bootcamp-brian/create-new-codeofconduct-pa…
Browse files Browse the repository at this point in the history
…ge-4249

Created GHA to update code of conduct in corresponding repos when REA…
  • Loading branch information
jdingeman authored May 4, 2023
2 parents 76e5863 + 9e52f1d commit 012ff04
Show file tree
Hide file tree
Showing 5 changed files with 796 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/update-codeofconduct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update Code of Conduct

on:
push:
paths:
- 'README.md'

jobs:
update_code_of_conduct:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '12.x'
- name: Install dependencies
run: |
cd github-actions/update-codeofconduct
npm install
- name: Copy code of conduct to other repos
env:
token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }}
run: node github-actions/update-codeofconduct/update-codeofconduct.js
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# dependencies
node_modules
Loading

0 comments on commit 012ff04

Please sign in to comment.