diff --git a/.github/workflows/runonce.yml b/.github/workflows/runonce.yml index ffa6c19..8e44418 100644 --- a/.github/workflows/runonce.yml +++ b/.github/workflows/runonce.yml @@ -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 @@ -331,4 +346,4 @@ jobs: id: dpkg-build run: | export PATH=/usr/local/go/bin:/usr/local/go/pkg/tool/linux_amd64:$PATH - make DEB \ No newline at end of file + make DEB