mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 18:41:07 +03:00 
			
		
		
		
	Use Personal Access token in release.yml (#4211)
Update release.yml, which is the workflow that creates release PRs and merges them when approved, to use a Personal Access Token instead of the standard GITHUB_TOKEN. I choose to name it RELEASE_TOKEN. This change ensures that GitHub Actions workflows are triggered when an action is performed by the Automated releases workflow. This is needed because the publishing to NPM and the creation of a new GitHub release should happen when there is a commit on `master`. If the release PR is merged by the workflow using GITHUB_TOKEN, no GitHub Actions workflows would be triggered. Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
This commit is contained in:
		
							parent
							
								
									35c54c4efc
								
							
						
					
					
						commit
						c7221a0797
					
				
							
								
								
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @ -13,4 +13,4 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|     - uses: simple-icons/release-action@master |     - uses: simple-icons/release-action@master | ||||||
|       with: |       with: | ||||||
|         repo-token: ${{ secrets.GITHUB_TOKEN }} |         repo-token: ${{ secrets.RELEASE_TOKEN }} | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user