mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Use checkout in action
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -384,14 +384,13 @@ jobs:
 | 
			
		||||
      -
 | 
			
		||||
        name: Checkout
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
        with:
 | 
			
		||||
          ref: main
 | 
			
		||||
      -
 | 
			
		||||
        name: Append Changelog to docs
 | 
			
		||||
        id: append-Changelog
 | 
			
		||||
        working-directory: docs
 | 
			
		||||
        run: |
 | 
			
		||||
          git status
 | 
			
		||||
          git pull origin main
 | 
			
		||||
          git checkout main
 | 
			
		||||
          echo -e "# Changelog\n\n${{ steps.create-release.outputs.body }}\n" > changelog-new.md
 | 
			
		||||
          CURRENT_CHANGELOG=`tail --lines +2 changelog.md`
 | 
			
		||||
          echo -e "$CURRENT_CHANGELOG" >> changelog-new.md
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user