forked from fediversity/fediversity
		
	Reviewed-on: Fediversity/Fediversity#477 Co-authored-by: Kiara Grouwstra <kiara@procolix.eu> Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			732 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			732 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: update-dependencies
 | 
						|
 | 
						|
on:
 | 
						|
  workflow_dispatch: # allows manual triggering
 | 
						|
  # FIXME: re-enable when manual run works
 | 
						|
  # schedule:
 | 
						|
  #   - cron: '0 0 1 * *' # monthly
 | 
						|
 | 
						|
jobs:
 | 
						|
  lockfile:
 | 
						|
    runs-on: native
 | 
						|
    steps:
 | 
						|
      - name: Checkout repository
 | 
						|
        uses: actions/checkout@v4
 | 
						|
      - name: Update pins
 | 
						|
        run: nix-shell --run "npins --verbose update"
 | 
						|
      - name: Create PR
 | 
						|
        uses: https://github.com/KiaraGrouwstra/gitea-create-pull-request@f9f80aa5134bc5c03c38f5aaa95053492885b397
 | 
						|
        with:
 | 
						|
          remote-instance-api-version: v1
 | 
						|
          token: "${{ secrets.DEPLOY_KEY }}"
 | 
						|
          branch: npins-update
 | 
						|
          commit-message: "npins: update sources"
 | 
						|
          title: "npins: update sources"
 |