mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	github/workflows: init renovatebot
This commit is contained in:
		
							parent
							
								
									7d5e6d3f0f
								
							
						
					
					
						commit
						3db88d27de
					
				
							
								
								
									
										7
									
								
								.github/renovate.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								.github/renovate.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
  "extends": ["config:base"]",
 | 
			
		||||
  "baseBranches": ["main"],
 | 
			
		||||
  "branchPrefix": "renovateaction",
 | 
			
		||||
  "extends": ["config:base", ":rebaseStalePrs"],
 | 
			
		||||
  "enabledManagers": ["dockerfile", "go", "github-actions"]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										26
									
								
								.github/workflows/renovatebot.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/renovatebot.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
			
		||||
---
 | 
			
		||||
name: Renovate
 | 
			
		||||
on:
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: '* * 5,20 * *' #Every 5th and 20th of the month
 | 
			
		||||
  workflow_dispatch: 
 | 
			
		||||
jobs:
 | 
			
		||||
  renovate:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Get token
 | 
			
		||||
        id: get_token
 | 
			
		||||
        uses: machine-learning-apps/actions-app-token@master
 | 
			
		||||
        with:
 | 
			
		||||
          APP_PEM: ${{ secrets.RENOVATEBOT_SECRET }}
 | 
			
		||||
          APP_ID: ${{ secrets.RENOVATEBOT_APP_ID }}
 | 
			
		||||
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v2.0.0
 | 
			
		||||
 | 
			
		||||
      - name: Self-hosted Renovate
 | 
			
		||||
        uses: renovatebot/github-action@v31.81.2
 | 
			
		||||
        with:
 | 
			
		||||
          configurationFile: .github/renovate.json
 | 
			
		||||
          token: 'x-access-token:${{ steps.get_token.outputs.app_token }}'
 | 
			
		||||
          onboarding: false
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user