Skip to content

Commit 0dd07a8

Browse files
committed
Add additional info around GitHub Environments
1 parent 5f2f651 commit 0dd07a8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
🚧 This repo is still a work in progress and not yet ready to be used 🚧
2+
13
<p align="center">
24
<a href="https://github.com/deadlydog/PowerShell.ScriptModuleRepositoryTemplate/actions/workflows/build-and-test-powershell-module.yml"><img alt="Build status" src="https://github.com/deadlydog/PowerShell.ScriptModuleRepositoryTemplate/actions/workflows/build-and-test-powershell-module.yml/badge.svg"></a>
35
<a href="https://github.com/deadlydog/PowerShell.ScriptModuleRepositoryTemplate/actions/workflows/build-test-and-deploy-powershell-module.yml"><img alt="Deploy status" src="https://github.com/deadlydog/PowerShell.ScriptModuleRepositoryTemplate/actions/workflows/build-test-and-deploy-powershell-module.yml/badge.svg"></a>
@@ -19,8 +21,6 @@
1921

2022
# PowerShell Script Module Repository Template
2123

22-
🚧 This repo is still a work in progress and not yet ready to be used 🚧
23-
2424
A template repository and module for creating new PowerShell module repos quickly with boilerplate files and CI/CD workflows already defined.
2525

2626
## ✨ Features

src/ScriptModuleRepositoryTemplate/TemplateRepoFiles/ReadMe.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Next we want to create an Environment so that stable module versions require man
8686
1. Click the `Save protection rules` button.
8787

8888
If your GitHub account does not meet [the requirements to use `Environments`](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment), the `Environments` section will not be available.
89+
Deployments will still work, but they will not pause for manual approval and will automatically deploy the stable version directly after the prerelease version is published.
8990
You will instead need to add [the Manual Workflow Approval action](https://github.com/marketplace/actions/manual-workflow-approval) to [the deployment workflow](/.github/workflows/build-test-and-deploy-powershell-module.yml) to block deployments until they are approved.
9091

9192
Finally, we will need to grant GitHub Actions permission to add git tags to the repository so it can keep track of the version number:

0 commit comments

Comments
 (0)