We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d8680 commit e1e3b87Copy full SHA for e1e3b87
.github/workflows/convert_grammars.yml
@@ -20,3 +20,5 @@ jobs:
20
- run: npm install
21
- name: Run grammar converter and push changes
22
run: bait run scripts/convert_grammars.bt
23
+ env:
24
+ BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
scripts/convert_grammars.bt
@@ -27,7 +27,8 @@ fun main() {
27
os.rmdir_all(target_repo_dir)
28
}
29
30
- errors += git_command('clone --depth 1 https://github.com/serkonda7/vscode-vba-json ${target_repo_dir}')
+ access_token := os.getenv('BOT_TOKEN')
31
+ errors += git_command('clone --depth 1 https://${GIT_USER}:${access_token}@github.com/tiabeast/vscode-vba-json.git ${target_repo_dir}')
32
33
errors += os.system('npm run convert-yaml')
34
os.cp('./out', '${target_repo_dir}/syntaxes')
0 commit comments