Joseph Hale's Technical Blog
0

Configure Feed

Select the types of activity you want to include in your feed.

feat(auto-merge-prs): Include new setting to enable Individual repositories now have an additional setting to enable. Updating the article with the instructions.

Joseph Hale, MS SE (Feb 12, 2025, 8:45 PM UTC) 82809ec3 44a93924

+10 -1
+10 -1
_posts/2023-10-29-auto-merging-prs.md
··· 30 30 31 31 ![A screenshot of the GitHub repository settings page, showing how to allow auto-merging pull requests](/assets/img/posts/auto_merging_prs/allow_auto_merge.png) 32 32 33 - Remember, this setting is a repository-level *feature toggle*. Individual pull requests still will not be auto-merged unless explicitly flagged otherwise (which we handle [later in this guide](#automatically-enable-auto-merge-for-pull-requests-from-trusted-authors)). 33 + For GitHub Actions to approve and merge pull requests you also need to grant permission in your repository's Actions settings page 34 + 35 + 1. Go to `https://github.com/YOUR_USERNAME/YOUR_REPOSITORY/settings/actions` 36 + 2. Scroll down to the **Workflow permissions** section 37 + 3. Enable **Allow GitHub Actions to create and approve pull requests** 38 + 39 + ![A screenshot of the GitHub repository Actions settings page, showing how to allow auto-merging pull requests](/assets/img/posts/auto_merging_prs/allow_auto_merge_actions.png) 40 + 41 + Remember, these settings are a repository-level *feature toggle*. Individual pull requests still will not be auto-merged unless explicitly flagged otherwise (which we handle [later in this guide](#automatically-enable-auto-merge-for-pull-requests-from-trusted-authors)). 42 + 34 43 35 44 ### GitHub Organizations: Allow GitHub Actions to create and approve pull requests 36 45
assets/img/posts/auto_merging_prs/allow_auto_merge_actions.png

This is a binary file and will not be displayed.