mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: ignore errors on changelog generation and include token (#4926)
This backports changes made in 5.5
This commit is contained in:
		
							parent
							
								
									c3e8d743bc
								
							
						
					
					
						commit
						4fc7df84b9
					
				
							
								
								
									
										4
									
								
								.github/workflows/publish-new-version.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/publish-new-version.yaml
									
									
									
									
										vendored
									
									
								
							@ -25,6 +25,7 @@ jobs:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
        with:
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
          token: ${{ secrets.GH_PUSH_TOKEN }}
 | 
			
		||||
      - name: Set up git-cliff
 | 
			
		||||
        uses: kenji-miyake/setup-git-cliff@v1
 | 
			
		||||
      - name: setup git config
 | 
			
		||||
@ -35,7 +36,7 @@ jobs:
 | 
			
		||||
        uses: actions/setup-node@v3
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: ${{ matrix.node-version }}
 | 
			
		||||
          cache: "yarn"
 | 
			
		||||
          cache: 'yarn'
 | 
			
		||||
      - if: ${{ endsWith(github.event.inputs.version, '0') }}
 | 
			
		||||
        run: |
 | 
			
		||||
          PREV_COMMIT=$(git rev-list --tags --max-count=1)
 | 
			
		||||
@ -43,6 +44,7 @@ jobs:
 | 
			
		||||
      - if: ${{ !endsWith(github.event.inputs.version, '0') }}
 | 
			
		||||
        run: echo PREV=$(git describe --abbrev=0) >> $GITHUB_ENV
 | 
			
		||||
      - name: Generate changelog if not pre-release
 | 
			
		||||
        continue-on-error: true
 | 
			
		||||
        if: ${{ !contains(github.event.inputs.version, '-') }}
 | 
			
		||||
        env:
 | 
			
		||||
          PREV: ${{ env.PREV }}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user