Skip to content

Commit 8a16032

Browse files
authored
Update README.md
1 parent 01fccde commit 8a16032

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Deployments can be manually triggered from within the Github Actions UI. This al
2424

2525
<img width="936" alt="image" src="https://github.com/alukach/example-github-actions-deployment-workflow/assets/897290/276a5b74-4228-424e-92e1-1edbb970002d">
2626

27+
> [!IMPORTANT]
28+
> Any user with `WRITE` permissions on the repo can trigger a deployment of any branch to any environment. This can be restricted with by appending a check of the `github.actor` within the `if:` clause of the manual deployment job and restricting write access to `main` (see [this discussion](https://github.com/orgs/community/discussions/26622) for more details).
29+
2730
#### Forcing Deployments
2831

2932
When manually dispatching a deployment, a user can deploy even if tests fail.

0 commit comments

Comments
 (0)