Skip to content

Merge pull request #8 from d3b-center/rjcorb/06-write-surv-metadata #10

Merge pull request #8 from d3b-center/rjcorb/06-write-surv-metadata

Merge pull request #8 from d3b-center/rjcorb/06-write-surv-metadata #10

on:
schedule:
- cron: '57 0 1 * *'
push:
branches:
- main
- master
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout This Repo
uses: actions/checkout@v3
with:
path: main
- name: Checkout Template Repo
uses: actions/checkout@v3
with:
repository: d3b-center/d3b-bixu-template
path: template
- name: Sync template file
run: |
cmp ./template/.github/PULL_REQUEST_TEMPLATE.md ./main/.github/PULL_REQUEST_TEMPLATE.md || cp ./template/.github/PULL_REQUEST_TEMPLATE.md ./main/.github/PULL_REQUEST_TEMPLATE.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
path: ./main/
commit-message: sync with template repo
title: Sync PR Template with Template Repo
body: |
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
PULL_REQUEST_TEMPLATE.md is no longer in sync with the [bixu_template_repo](https://github.com/kids-first/kf-template-repo).
This PR sets this repository's PULL_REQUEST_TEMPLATE.md to the template found in the bixu_template_repo.
If this repository's PULL_REQUEST_TEMPLATE.md is preferred to the one in the bixu_template_repo,
please update the bixu_template_repo's template file to the newest standard and close this PR.
delete-branch: true
branch: gha-sync-pr-temp
branch-suffix: timestamp
labels: bix-dev