Skip to content

Commit

Permalink
upd template-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkblansh committed Jul 21, 2024
1 parent 9ba0b8e commit be75ff8
Showing 1 changed file with 35 additions and 4 deletions.
39 changes: 35 additions & 4 deletions .github/workflows/template-sync.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,38 @@
# on:
# # cronjob trigger
# schedule:
# - cron: '0 0 1 * *'
# # manual trigger
# workflow_dispatch:
# jobs:
# repo-sync:
# runs-on: ubuntu-latest
# # https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
# permissions:
# contents: write
# pull-requests: write

# steps:
# # To use this repository's private action, you must check out the repository
# - name: Checkout
# uses: actions/checkout@v4
# # https://github.com/actions/checkout#usage
# # uncomment if you use submodules within the source repository
# # with:
# # submodules: true

# - name: actions-template-sync
# uses: AndreasAugustin/actions-template-sync@v1
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# source_repo_path: yorkblansh/devcontainer-template
# upstream_branch: master # defaults to main
# # pr_labels: <label1>,<label2>[,...] # optional, no default

on:
# cronjob trigger
schedule:
- cron: '0 0 1 * *'
- cron: "0 0 1 * *"
# manual trigger
workflow_dispatch:
jobs:
Expand All @@ -17,14 +48,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
# https://github.com/actions/checkout#usage
# uncomment if you use submodules within the source repository
# uncomment if you use submodules within the repository
# with:
# submodules: true

- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1
uses: AndreasAugustin/actions-template-sync@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: yorkblansh/devcontainer-template
upstream_branch: master # defaults to main
# pr_labels: <label1>,<label2>[,...] # optional, no default
pr_labels: <label1>,<label2>[,...] # defaults to template_sync

0 comments on commit be75ff8

Please sign in to comment.