Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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