ci: changelogs skip unlabeled PRs
This commit is contained in:
		
							parent
							
								
									9d57057272
								
							
						
					
					
						commit
						29aaafb9e4
					
				
							
								
								
									
										2
									
								
								.github/workflows/docs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docs.yml
									
									
									
									
										vendored
									
									
								
							@ -73,7 +73,7 @@ jobs:
 | 
			
		||||
              PR=$(echo $frag|cut -d~ -f2)
 | 
			
		||||
              type="$(echo $frag|cut -d~ -f3)"
 | 
			
		||||
              msg="$(echo $frag|cut -d~ -f4|sed 's/`/``/g')"
 | 
			
		||||
              if [[ "${TYPES[*]}" =~ "${type}" ]]; then
 | 
			
		||||
              if [[ "$type" != "" && "${TYPES[*]}" =~ "${type}" ]]; then
 | 
			
		||||
                echo -e "$type:\n  - >\n    $msg \`#${PR} <https://github.com/ansible-middleware/keycloak/pull/${PR}>\`_" \
 | 
			
		||||
                  > changelogs/fragments/${PR}.yaml
 | 
			
		||||
              fi
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@ -60,7 +60,7 @@ jobs:
 | 
			
		||||
            PR=$(echo $frag|cut -d~ -f2)
 | 
			
		||||
            type="$(echo $frag|cut -d~ -f3)"
 | 
			
		||||
            msg="$(echo $frag|cut -d~ -f4|sed 's/`/``/g')"
 | 
			
		||||
            if [[ "${TYPES[*]}" =~ "${type}" ]]; then
 | 
			
		||||
            if [[ "$type" != "" && "${TYPES[*]}" =~ "${type}" ]]; then
 | 
			
		||||
              echo -e "$type:\n  - >\n    $msg \`#${PR} <https://github.com/ansible-middleware/keycloak/pull/${PR}>\`_" \
 | 
			
		||||
                > changelogs/fragments/${PR}.yaml
 | 
			
		||||
            fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user