30 lines
		
	
	
		
			685 B
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			685 B
		
	
	
	
		
			YAML
		
	
	
	
| --- # reviewdog
 | |
| name: 'Lint Shellcheck 🐚'
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|   workflow_dispatch:
 | |
| 
 | |
| jobs:
 | |
|   shellcheck:
 | |
|     permissions:
 | |
|       checks: write
 | |
|       contents: read
 | |
|       pull-requests: write
 | |
|     name: 'Run shellcheck with reviewdog'
 | |
|     runs-on: ubuntu-22.04
 | |
|     steps:
 | |
|       - uses: actions/checkout@v4
 | |
|       - uses: haya14busa/action-cond@v1
 | |
|         id: reporter
 | |
|         with:
 | |
|           cond: ${{ github.event_name == 'pull_request' }}
 | |
|       - uses: reviewdog/action-shellcheck@v1
 | |
|         with:
 | |
|           reporter: ${{ steps.reporter.outputs.value }}
 | |
|           level: error
 | |
|           github_token: ${{ secrets.github_token }}
 | |
|           pattern: |
 | |
|             quickget
 | |
|             quickemu            
 |