mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-10-30 16:45:07 +01:00 
			
		
		
		
	Change config file permissions in GH Action
This commit is contained in:
		
							
								
								
									
										15
									
								
								.github/workflows/runonce.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/runonce.yml
									
									
									
									
										vendored
									
									
								
							| @@ -33,6 +33,11 @@ jobs: | ||||
|     - name: Build MetricCollector | ||||
|       run: make | ||||
|  | ||||
|     - name: Set config file permissions | ||||
|       run: | | ||||
|         chown $USER .github/ci*.json | ||||
|         chmod 0600 .github/ci*.json | ||||
|  | ||||
|     - name: Run MetricCollector once | ||||
|       run: ./cc-metric-collector --once --config .github/ci-config.json | ||||
|  | ||||
| @@ -59,6 +64,11 @@ jobs: | ||||
|     - name: Build MetricCollector | ||||
|       run: make | ||||
|  | ||||
|     - name: Set config file permissions | ||||
|       run: | | ||||
|         chown $USER .github/ci*.json | ||||
|         chmod 0600 .github/ci*.json | ||||
|  | ||||
|     - name: Run MetricCollector once | ||||
|       run: ./cc-metric-collector --once --config .github/ci-config.json | ||||
|  | ||||
| @@ -85,6 +95,11 @@ jobs: | ||||
|     - name: Build MetricCollector | ||||
|       run: make | ||||
|  | ||||
|     - name: Set config file permissions | ||||
|       run: | | ||||
|         chown $USER .github/ci*.json | ||||
|         chmod 0600 .github/ci*.json | ||||
|  | ||||
|     - name: Run MetricCollector once | ||||
|       run: ./cc-metric-collector --once --config .github/ci-config.json | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user