Skip to content

Commit

Permalink
Chore: Remove extra checkout from pr-integration-tests (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtreece authored Sep 24, 2024
1 parent 5e02037 commit 1b63aae
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pr-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: PR Integration Tests

on:
workflow_dispatch: {}
issue_comment:
types: [created]

jobs:
grafana-integration-tests:
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/grafana-integration-tests' }}
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.issue.pull_request && startsWith(github.event.comment.body, '/grafana-integration-tests')) }}
strategy:
matrix:
version: [main, v11.2.x, v11.1.x, v11.0.x, v10.4.x, v10.3.x]
Expand All @@ -18,10 +19,6 @@ jobs:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Checkout grafana
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 1b63aae

Please sign in to comment.