Skip to content

Commit

Permalink
disabled pr checkout for test
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoriopalama committed Aug 9, 2024
1 parent 8e001ae commit b4706b8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/vitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ jobs:
contents: write

steps:
- uses: actions/github-script@v7
id: pr
with:
script: |
const { data: pullRequest } = await github.rest.pulls.get({
...context.repo,
pull_number: context.payload.pull_request.number,
});
return pullRequest
#- uses: actions/github-script@v7
# id: pr
# with:
# script: |
# const { data: pullRequest } = await github.rest.pulls.get({
# ...context.repo,
# pull_number: context.payload.pull_request.number,
# });
# return pullRequest
- uses: actions/checkout@v4
with:
ref: ${{fromJSON(steps.pr.outputs.result).merge_commit_sha}}
# with:
# ref: ${{fromJSON(steps.pr.outputs.result).merge_commit_sha}}
- name: Cache firebase emulators
uses: actions/cache@v4
with:
Expand Down

0 comments on commit b4706b8

Please sign in to comment.