mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 18:41:07 +03:00 
			
		
		
		
	Auto Assign PRs to priorisation project (#4418)
* Auto Assign PRs to priorisation project * Fix from @mondeja review * hyphen for job name * Update token name
This commit is contained in:
		
							parent
							
								
									d9e9d274a1
								
							
						
					
					
						commit
						08e218e6dd
					
				
							
								
								
									
										26
									
								
								.github/workflows/auto-assign-to-project.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/auto-assign-to-project.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,26 @@ | ||||
| name: Auto Assign to Project(s) | ||||
| 
 | ||||
| on: | ||||
|   pull_request: | ||||
|     types: [opened, labeled] | ||||
| env: | ||||
|   MY_GITHUB_TOKEN: ${{ secrets.AUTO_ASSIGN_WORKFLOW_TOKEN }} | ||||
| 
 | ||||
| jobs: | ||||
|   assign-to-project: | ||||
|     runs-on: ubuntu-latest | ||||
|     name: Assign to Project | ||||
|     steps: | ||||
|     - name: Assign pull requests to "Unprioritised" | ||||
|       uses: srggrs/assign-one-project-github-action@1.2.0 | ||||
|       if: github.event.action == 'opened' | ||||
|       with: | ||||
|         project: https://github.com/orgs/simple-icons/projects/2 | ||||
|         column_name: Unprioritised | ||||
| 
 | ||||
|     - name: Assign `icon outdated` pull requests to "Priority 1" | ||||
|       uses: srggrs/assign-one-project-github-action@1.2.0 | ||||
|       if: contains(github.event.pull_request.labels.*.name, 'icon outdated') | ||||
|       with: | ||||
|         project: https://github.com/orgs/simple-icons/projects/2 | ||||
|         column_name: Priority 1 | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user