skills/deploy-to-azure

[Bug] On repo clone, cannot run ./.github/script/initialize-repository.sh: Permission denied

larmitage-bjss opened this issue · 1 comments

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

  1. Go to https://github.com/skills/deploy-to-azure
  2. Click on 'Use this template' > 'clone a new repository'
  3. Create repository
  4. 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

Screenshot 2024-01-11 at 16 45 39

https://github.com/larmitage-bjss/deploy-to-azure/actions/runs/7491800267/job/20393860444

Fixed in #71, can be closed