Skip to content

Commit

Permalink
chore: finetune sync headers (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Nov 2, 2022
1 parent 852a1ae commit b41b1ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/sync.sh
Expand Up @@ -215,6 +215,10 @@ function copy_templates {
.bin/ory dev headers cp -n "templates/repository/common/.reference-ignore" "$repo_path/.reference-ignore" || true # copy only if it does not exist, as it is meant to help getting started
.bin/ory dev headers cp -r "templates/repository/common/.github" "$repo_path/"
.bin/ory dev headers cp -r "templates/repository/$repo_type/.github" "$repo_path/"
# copy pull-request templates as-is because they are displayed verbatim and shouldn't contain the comment header
if [ -f "templates/repository/$repo_type/.github/pull_request_template.md" ]; then
cp "templates/repository/$repo_type/.github/pull_request_template.md" "$repo_path/.github"
fi
}

# creates a pull request with the changes on GitHub
Expand Down

0 comments on commit b41b1ee

Please sign in to comment.