Skip to content

Commit 4ddfdfb

Browse files
committed
Get weekly release working
- fix missing permissions - add doc
1 parent 2d501b6 commit 4ddfdfb

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/release-cron.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: write
10+
statuses: write
1011

1112
jobs:
1213
check:

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ Dependabot PRs are merged automatically if they pass all required checks (tests
137137

138138
## Releases
139139

140+
### Automatic Weekly Releases
141+
142+
The workflow [Release Cron](https://github.com/cloudfoundry/storage-cli/actions/workflows/release-cron.yml) builds an automatic release every Monday morning if there are changes on the `main` branch (e.g. version bumps).
143+
144+
The workflow builds and tests storage-cli, runs the integration tests and creates a **draft release** that needs to be published manually. Note that only published storage-cli releases are picked up by [capi-release](https://github.com/cloudfoundry/capi-release).
145+
146+
If this process works well, the idea is to switch the workflow from draft to published releases.
147+
140148
### Manual Release
141149
Releases must be triggered manually by an approver. This can be done either via `GitHub Actions` (workflow dispatch) or through the `GitHub Releases` page using the **Draft a new release** option. The *Release Manual* workflow is responsible for creating and completing the release.
142150

0 commit comments

Comments
 (0)