Skip to content
Merged
Prev Previous commit
Next Next commit
Update template-sync.yml
  • Loading branch information
dciborow authored May 17, 2023
commit 9b8cb9eea1c1f8ba251339f9ff8e242d9f1f553f
27 changes: 5 additions & 22 deletions .github/workflows/template-sync.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
# This is a basic workflow to help you get started with Actions

name: Template Sync

# Controls when the workflow will run
on:
# cronjob trigger
schedule:
- cron: "0 0 1 * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
sync:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v0.1.6-draft
- uses: actions/checkout@v3 # important!
- uses: euphoricsystems/action-sync-template-repository@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: microsoft/python-package-template
github-token: ${{ secrets.GITHUB_TOKEN }}
dry-run: true