You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/automated-release.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ on:
38
38
required: true
39
39
type: string
40
40
release-automation-secret-name:
41
-
description: "Release automation secret name to create integration PRs in SQS and SQC"
41
+
description: "Release automation secret name to create integration PRs in SQS and SQC. If not provided uses `sonar-{plugin-name}-release-automation` as default."
Copy file name to clipboardExpand all lines: docs/AUTOMATED_RELEASE.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ This workflow composes several actions from this repository:
43
43
|`use-jira-sandbox`| Use Jira sandbox | No |`true`|
44
44
|`is-draft-release`| Create the GitHub release as a draft | No |`true`|
45
45
|`pm-email`| Product manager email to assign the release ticket after technical release | Yes | - |
46
-
|`release-automation-secret-name`| Secret name used to create analyzer update PRs| No | - |
46
+
|`release-automation-secret-name`| Secret name used to create analyzer update PRs. If omitted, defaults to `sonar-{plugin-name}-release-automation`.| No | - |
47
47
|`short-description`| Brief summary for release and integration tickets | Yes | - |
48
48
|`rule-props-changed`| Whether rule properties changed (`true`/`false`); mapped to Yes/No in the release ticket | Yes | - |
49
49
|`branch`| Branch to release from | Yes |`master`|
- Unlock the branch after the GitHub release is published
129
128
- Send lock/unlock notifications to the configured `slack-channel` if provided
130
129
- When `release-notes` is empty, Jira release notes are fetched and used.
131
-
- Integration tickets and analyzer update PRs are created only if their respective flags are enabled and prerequisites are met (e.g., secret name for PR creation).
130
+
- Integration tickets and analyzer update PRs are created only if their respective flags are enabled and prerequisites are met.
132
131
- Summaries:
133
132
- Each job includes a "Summary" step that writes to `$GITHUB_STEP_SUMMARY` only when `verbose: true`.
134
133
- Permissions and environments are scoped per job to minimize required privileges.
135
134
136
135
## Troubleshooting
137
136
138
137
- Ensure the caller repository has appropriate permissions to use this workflow and to write releases and PRs.
139
-
- Verify that `release-automation-secret-name` exists and grants access for creating analyzer update PRs.
138
+
- Verify that `release-automation-secret-name` exists and grants access for creating analyzer update PRs. If omitted, ensure the default secret (`sonar-{plugin-name}-release-automation`) exists and is configured with the required permissions.
140
139
- Check job logs if the final summary indicates failure; the per-job logs contain detailed outputs even when `verbose` is disabled.
141
140
- Ensure the `Jira Tech User GitHub` is an Administrator on the target Jira project; admin rights are required to release the Jira version and to create a new version.
0 commit comments