mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 02:25:59 +03:00 
			
		
		
		
	Update Workflows to reflect new Labels (#10026)
This commit is contained in:
		
							parent
							
								
									31f63b171d
								
							
						
					
					
						commit
						909e1ca877
					
				
							
								
								
									
										9
									
								
								.github/labeler.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/labeler.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,13 @@ | ||||
| new icon: | ||||
|   - any: [icons/*.svg] | ||||
|     status: added | ||||
| icon outdated: | ||||
| update icon/data: | ||||
|   - any: [icons/*.svg] | ||||
|     status: modified | ||||
| docs: | ||||
|   - any: ['*.md'] | ||||
|     status: modified | ||||
| meta: | ||||
|   - any: ['.github/*', 'scripts/*', 'tests/*', '*'] | ||||
|   - all: ['!*.md', '!icons/*.svg', '!_data/*', '!package.json'] | ||||
|     status: modified | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/add-labels-priority.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/add-labels-priority.yml
									
									
									
									
										vendored
									
									
								
							| @ -54,9 +54,9 @@ jobs: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
| 
 | ||||
|       - id: priority-1 | ||||
|         name: Assign `icon outdated` pull requests to "Priority 1" | ||||
|         name: Assign `update icon/data` pull requests to "Priority 1" | ||||
|         uses: srggrs/assign-one-project-github-action@1.3.1 | ||||
|         if: contains(steps.get-labels.outputs.labels, 'icon outdated') | ||||
|         if: contains(steps.get-labels.outputs.labels, 'update icon/data') | ||||
|         with: | ||||
|           project: https://github.com/orgs/simple-icons/projects/2 | ||||
|           column_name: Priority 1 | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/autoclose-issues.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/autoclose-issues.yml
									
									
									
									
										vendored
									
									
								
							| @ -10,8 +10,8 @@ jobs: | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - id: match-title | ||||
|         name: Match title | ||||
|       - id: match-java | ||||
|         name: Match Java | ||||
|         # if the title contains the word Java (case insensitive) | ||||
|         # we make sure that this word is the end of the string or is followed by a space character (ex. we do not want to match javascript) | ||||
|         # we make sure that this word is the beginning of the string or is preceded by a space character (ex. we do not want to match foojava) | ||||
| @ -33,7 +33,7 @@ jobs: | ||||
|       # - we close the issue | ||||
|       - name: Close the issue | ||||
|         if: | | ||||
|           steps.match-title.outputs.match == 'true' && | ||||
|           steps.match-java.outputs.match == 'true' && | ||||
|           contains(steps.get-labels.outputs.labels, 'new icon') | ||||
|         uses: actions/github-script@v6 | ||||
|         with: | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/potential-duplicates.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/potential-duplicates.yml
									
									
									
									
										vendored
									
									
								
							| @ -10,7 +10,7 @@ jobs: | ||||
|       - uses: wow-actions/potential-duplicates@v1 | ||||
|         with: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|           label: potential duplicate | ||||
|           label: duplicate | ||||
|           exclude: | | ||||
|             adding | ||||
|             add | ||||
|  | ||||
							
								
								
									
										7
									
								
								.github/workflows/remove-labels.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/remove-labels.yml
									
									
									
									
										vendored
									
									
								
							| @ -17,13 +17,14 @@ jobs: | ||||
|         with: | ||||
|           token: ${{ secrets.GITHUB_TOKEN }} | ||||
|           labels: | | ||||
|             assessing | ||||
|             awaiting reply | ||||
|             changes requested | ||||
|             duplicate | ||||
|             in discussion | ||||
|             invalid | ||||
|             out of scope | ||||
|             pending | ||||
|             permission required | ||||
|             won't add | ||||
|   remove-closed-pr-labels: | ||||
|     name: Remove closed pull request labels | ||||
| @ -36,6 +37,7 @@ jobs: | ||||
|           labels: | | ||||
|             in discussion | ||||
|             pending | ||||
|             assessing | ||||
|   remove-closed-issue-labels: | ||||
|     name: Remove closed issue labels | ||||
|     if: github.event.issue.state == 'closed' | ||||
| @ -47,5 +49,4 @@ jobs: | ||||
|           labels: | | ||||
|             in discussion | ||||
|             pending | ||||
|             tracking | ||||
|             help wanted | ||||
|             assessing | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user