[Bug] On repo clone, cannot run ./.github/script/initialize-repository.sh: Permission denied
larmitage-bjss opened this issue · 1 comments
larmitage-bjss commented
Summary
A bash script in the /scripts directory does not have permission to be run from the workflow on creation of the repo
How to reproduce
- Go to https://github.com/skills/deploy-to-azure
- Click on 'Use this template' > 'clone a new repository'
- Create repository
- Click on 'Actions' and see failing workflow
Run ./.github/script/initialize-repository.sh --dry-run=false
/home/runner/work/_temp/16d9e30a-ec25-477a-bff6-b69b72279dcc.sh: line 1: ./.github/script/initialize-repository.sh: Permission denied
https://github.com/larmitage-bjss/deploy-to-azure/actions/runs/7491800267/job/20393860444
rffontenelle commented
Fixed in #71, can be closed