Skip to content

Commit

Permalink
use personal access token instead of GH token (#160)
Browse files Browse the repository at this point in the history
* use personal access token instead of GH token

* add suggested parameters for force deletion of files
  • Loading branch information
JessicaS11 authored May 1, 2024
1 parent d33090f commit 47f3e15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/template-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ jobs:
# comment token (and add .github path to .templatesyncignore)
# if you do not want actions and workflows updated
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GH_PAT }}

- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: uwhackweek/jupyterbook-template
upstream_branch: main # defaults to main
is_force_deletion: True
is_force_deletion: True
git_remote_pull_params: --allow-unrelated-histories --squash --strategy=recursive -X theirs

0 comments on commit 47f3e15

Please sign in to comment.