Give an option to Organization owner that they can upload a file or path to file [anyfile] and it should ask to enable or disable while creating a repository like how the readme option pops up #139800
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
Hey there! I’ve encountered a similar requirement in one of my projects, and I was able to solve it by following this approach. 1. Repository Template Configuration: 2. GitHub Actions for Automation: First, you'll need to create a workflow that checks for the existence of a public key file in the repository. 3. Organization Settings: This can be integrated into the repository creation API or GitHub App. The app can ask the owner whether they want to upload a specific file, such as a public key. 3. Custom Scripts or Hooks: 4. UI Toggle like README Option: |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Dear team,
I want a file in a path that should be specified in the repository while creating the repo. This is to have a public key to automate and enable git secret reveal option.
Give an option to Organization owner that they can upload a file or path to file [anyfile] and it should ask to enable or disable while creating a repository like how the readme option pops up.
Beta Was this translation helpful? Give feedback.
All reactions