ci: ワークフローが更新されたときにもワークフローが起動するようにする (#14207)
* ci: include themselves in `on.push.paths`
command: find .github/workflows -type f \( -name '*.yaml' -or -name '*.yml' \) | xargs -I {} yq_4.44.2-linux_x86-64 'select(.on.push.paths != null) | .[0] | map("{}")[0]' {} | xargs -I {} ~/.local/bin/yq_4.44.2-linux_x86-64 -i '.on.push.paths += ["{}"]' {}
* ci: include themselves in `on.pull_request.paths`
command: find .github/workflows -type f \( -name '*.yaml' -or -name '*.yml' \) | xargs -I {} yq_4.44.2-linux_x86-64 'select(.on.pull_request.paths != null) | .[0] | map("{}")[0]' {} | xargs -I {} ~/.local/bin/yq_4.44.2-linux_x86-64 -i '.on.pull_request.paths += ["{}"]' {}
			
			
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/test-backend.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/test-backend.yml
									
									
									
									
										vendored
									
									
								
							@@ -9,12 +9,13 @@ on:
 | 
			
		||||
      - packages/backend/**
 | 
			
		||||
      # for permissions
 | 
			
		||||
      - packages/misskey-js/**
 | 
			
		||||
      - .github/workflows/test-backend.yml
 | 
			
		||||
  pull_request:
 | 
			
		||||
    paths:
 | 
			
		||||
      - packages/backend/**
 | 
			
		||||
      # for permissions
 | 
			
		||||
      - packages/misskey-js/**
 | 
			
		||||
 | 
			
		||||
      - .github/workflows/test-backend.yml
 | 
			
		||||
jobs:
 | 
			
		||||
  unit:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user