mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-31 12:18:24 +00:00 
			
		
		
		
	yet another attempt to make dependabot changelogs work (#14021)
* yet another attempt to make dependabot changelogs work * Changelog
This commit is contained in:
		
							parent
							
								
									a52d27a68b
								
							
						
					
					
						commit
						3ac0e76b79
					
				
							
								
								
									
										5
									
								
								.github/workflows/dependabot_changelog.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/dependabot_changelog.yml
									
									
									
									
										vendored
									
									
								
							| @ -9,6 +9,9 @@ permissions: | |||||||
|   #     https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request |   #     https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request | ||||||
|   # for a similar example |   # for a similar example | ||||||
|   contents: write |   contents: write | ||||||
|  |   # The pull_requests "synchronize" event doesn't seem to fire with just `contents: write`, so | ||||||
|  |   # CI doesn't run with the new changelog. Maybe `pull_requests: write` will fix this? | ||||||
|  |   pull_requests: write | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   add-changelog: |   add-changelog: | ||||||
| @ -27,3 +30,5 @@ jobs: | |||||||
|           git commit -m "Changelog" |           git commit -m "Changelog" | ||||||
|           git push |           git push | ||||||
|         shell: bash |         shell: bash | ||||||
|  |   # THIS WORKFLOW HAS VARIOUS WRITE PERMISSIONS---do not add other jobs here unless they | ||||||
|  |   # are sufficiently locked down to dependabot only as above. | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								changelog.d/14021.misc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								changelog.d/14021.misc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | Prototype a workflow to automatically add changelogs to dependabot PRs. | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user