Fix resetting to a branch when a tag shares the same name, or vice versa #7386
ci.yml
on: pull_request
  
      
        Matrix: integration-tests
      
    
    
      
        Matrix: unit-tests
      
    
    
    
      build
    
          
              1m 22s
          
      
    
      check-codebase
    
          
              26s
          
      
    
      lint
    
          
              37s
          
      
    
      check-required-label
    
          
              3s
          
      
    
      check-for-fixups
    
          
              4s
          
      
    
      upload-coverage
    
          
              0s
          
      Annotations
1 error
          | 
                   
                      
                          check-required-label
                        
                      
                       
                  Label error. Requires exactly 1 of: ignore-for-release, feature, enhancement, bug, maintenance, docs, i18n, performance. Found:  
                         | 
              
Artifacts
Produced during runtime
          | Name | Size | Digest | |
|---|---|---|---|
| 
                   
                        
                          coverage-integration-2.22.0-15103858567
                        
                        
                          Expired
                       
                   | 
                269 KB | 
                      sha256:b7b9850f044242f95e47ce047467b16c586b0ecaf9146d6309c3edb446e73e89
                        
   | 
                
                   | 
              
| 
                   
                        
                          coverage-integration-2.23.0-15103858567
                        
                        
                          Expired
                       
                   | 
                269 KB | 
                      sha256:ff6e325e1a09d0cb9e669206c5804aca04d535623a849ef5e8c40d4b6324927d
                        
   | 
                
                   | 
              
| 
                   
                        
                          coverage-integration-2.25.1-15103858567
                        
                        
                          Expired
                       
                   | 
                269 KB | 
                      sha256:4519b0a7f05364e78771237c05961cba7153b43353ec0baab642ae8ff8645d43
                        
   | 
                
                   | 
              
| 
                   
                        
                          coverage-integration-2.30.8-15103858567
                        
                        
                          Expired
                       
                   | 
                269 KB | 
                      sha256:76eed919aaceb17b540552611a5b27a44614502c472eef140717bcc83d395bca
                        
   | 
                
                   | 
              
| 
                   
                        
                          coverage-integration-latest-15103858567
                        
                        
                          Expired
                       
                   | 
                269 KB | 
                      sha256:af619ad00c5d4c9945318daff461e73e3a6a088c206e5737a7203672d0395c7b
                        
   | 
                
                   | 
              
| 
                   
                        
                          coverage-unit-ubuntu-latest-15103858567
                        
                        
                          Expired
                       
                   | 
                219 KB | 
                      sha256:c44addde786800479be15d65edcfa1f95d6903c711a0ea681ba47685e20fe544
                        
   | 
                
                   | 
              
| 
                   
                        
                          coverage-unit-windows-latest-15103858567
                        
                        
                          Expired
                       
                   | 
                183 KB | 
                      sha256:7eb87a0299c944c898c7426970e80937a2cb75a35190f76dd6d58e893d21c78f
                        
   | 
                
                   |