fix: actions-runner stopped working
This commit is contained in:
		
							parent
							
								
									301c022ca4
								
							
						
					
					
						commit
						d29f467bc6
					
				
					 1 changed files with 5 additions and 10 deletions
				
			
		|  | @ -3,20 +3,15 @@ on: | ||||||
|     - cron: 0 */6 * * * |     - cron: 0 */6 * * * | ||||||
|    |    | ||||||
| jobs: | jobs: | ||||||
|   UpdateFlake: |   updateflake: | ||||||
|     runs-on: native |  | ||||||
| 
 |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out repository code |       - name: Check out repository code | ||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v4 | ||||||
|       - name: Update flake |       - run: |  | ||||||
|         run: |  |           cd ${{ env.FORGEJO_WORKSPACE }} | ||||||
|           cd ${{ gitea.workspace }} |  | ||||||
|           nix flake update |           nix flake update | ||||||
|       - name: Commit new Flake.lock |       - run: | | ||||||
|         run: | |  | ||||||
|           git config --local user.email "christoph.hollizeck@hey.com" |           git config --local user.email "christoph.hollizeck@hey.com" | ||||||
|           git config --local user.name "forgjo-actions[bot]" |           git config --local user.name "forgjo-actions[bot]" | ||||||
|           git commit -a -m "chore: update flake" |           git commit -a -m "chore: update flake" | ||||||
|       - name: Push changes |       - run: git push | ||||||
|         run: git push |  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue