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: docs/configuration/repository-setup.rst
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,12 +38,21 @@ Once this is done, the wiki can be cloned as a submodule and synchronized by the
38
38
Workflow Permissions
39
39
--------------------
40
40
41
-
GitHub Actions must have permission to push changes to your repository (for Wiki updates and GitHub Pages deployments).
41
+
GitHub Actions must have permission to push changes to your repository and, for
42
+
the changelog release flow, to open release-preparation pull requests.
42
43
43
44
1. Go to **Settings** > **Actions** > **General**.
44
45
2. Scroll down to **Workflow permissions**.
45
46
3. Select **Read and write permissions**.
46
-
4. Click **Save**.
47
+
4. Enable **Allow GitHub Actions to create and approve pull requests**.
48
+
5. Click **Save**.
47
49
48
50
.. warning::
49
-
Without these permissions, the ``wiki.yml`` and ``reports.yml`` workflows will fail when attempting to deploy content.
51
+
Without these permissions, the ``wiki.yml`` and ``reports.yml`` workflows will fail when attempting to deploy content, and the ``changelog.yml`` workflow will fail when trying to open a ``release/v...`` pull request.
52
+
53
+
.. note::
54
+
If the permission controls are disabled or grayed out, the repository is
55
+
usually constrained by organization policy or by missing admin access. This
56
+
is separate from branch protection. Branch protection affects whether the
57
+
generated release pull request can be merged, while workflow permissions
58
+
affect whether GitHub Actions can create that pull request at all.
* Under **Workflow permissions**, enable **Read and write permissions**.
118
+
* Enable **Allow GitHub Actions to create and approve pull requests**.
119
+
* If either control is disabled or grayed out, the repository is likely constrained by organization-level policy or missing admin permission. In that case, an organization or repository admin must unlock the setting before manual release preparation can open a release pull request.
120
+
121
+
.. note::
122
+
Branch protection is not what blocks the release-preparation workflow from opening a pull request. Branch protection affects the merge of the ``release/v...`` pull request later in the flow. The gray or disabled workflow-permission controls come from repository permissions or organization policy.
0 commit comments