Skip to content

Commit

Permalink
add ref
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtreece committed Sep 24, 2024
1 parent d2dd32b commit 37e305b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pr-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,31 @@ jobs:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}
- name: "Create check"
uses: actions/github-script@v6
env:
parameter_url: '${{ github.event.workflow.run_url }}'
with:
script: |
await github.rest.checks.create({
owner: context.repo.owner,
repo: context.repo.repo,
head_sha: context.sha,
name: "grafana-integration-tests",
status: "in_progress",
details_url: process.env.parameter_url,
output: {
title: "Grafana Integration Tests",
},
});
- name: Checkout grafana
uses: actions/checkout@v4
with:
repository: grafana/grafana
- name: Checkout grafana
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 37e305b

Please sign in to comment.