Skip to content

Commit

Permalink
feat: use token
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Nov 23, 2024
1 parent e73007f commit 5e5af6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Sync branch to template

permissions:
actions: write

on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -37,7 +40,7 @@ jobs:

- name: Sync branch to template
env:
GH_TOKEN: ${{ secrets.PAT }}
GH_TOKEN: ${{ steps.get_installation_token.outputs.token }}
WHITELIST_FILES: ".github/ .husky/ .eslintrc .nvmrc .prettierrc .yarnrc.yml tsconfig.json"
ADDITIONAL_FILES: ${{ github.event.inputs.additional_files }}
BLACKLIST_FILES: ".github/workflows/deploy.yml"
Expand Down

0 comments on commit 5e5af6f

Please sign in to comment.