Skip to content

Commit

Permalink
Fix CI-Scripts workflow to only run on pull_request (#13083)
Browse files Browse the repository at this point in the history
It was attempting to do this but also had push running which can mess up r
  • Loading branch information
tateexon authored May 2, 2024
1 parent 03f0010 commit 4c6f134
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci-scripts.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: CI Scripts

on:
push:
merge_group:
pull_request:

jobs:
lint-scripts:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand All @@ -23,7 +22,6 @@ jobs:
gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}

test-scripts:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand Down

0 comments on commit 4c6f134

Please sign in to comment.