Skip to content

Commit

Permalink
refactor based on suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Dec 13, 2023
1 parent b9a7d7e commit ce10397
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
golangci:
if: ${{ github.event_name == 'pull_request' || github.event_name == 'schedule' }}
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -21,7 +21,7 @@ jobs:
gc-host: ${{ secrets.GRAFANA_CLOUD_HOST }}

test:
if: ${{ github.event_name == 'pull_request' || github.event_name == 'schedule' }}
if: ${{ github.event_name == 'pull_request' }}
name: scripts-test
runs-on: ubuntu-latest
steps:
Expand All @@ -33,9 +33,8 @@ jobs:
go-module-file: core/scripts/go.sum
- name: Run Tests
shell: bash
run: |
cd core/scripts
go test ./...
working-directory: core/scripts
run: go test ./...
- name: Collect Metrics
if: always()
id: collect-gha-metrics
Expand Down

0 comments on commit ce10397

Please sign in to comment.