Skip to content

Commit

Permalink
fix: indentation in checkout build (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryarm authored Feb 2, 2023
1 parent e3b92f6 commit de431ab
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/comment_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/check' }}
runs-on: [ubuntu-latest]
steps:
- name: Get PR SHA
id: sha
uses: actions/github-script@v4
with:
result-encoding: string
script: |
const { owner, repo, number } = context.issue;
const pr = await github.pulls.get({
owner,
repo,
pull_number: number,
});
return pr.data.head.sha
- name: Get PR SHA
id: sha
uses: actions/github-script@v4
with:
result-encoding: string
script: |
const { owner, repo, number } = context.issue;
const pr = await github.pulls.get({
owner,
repo,
pull_number: number,
});
return pr.data.head.sha
- name: Check out the repository
uses: actions/checkout@v3
Expand Down

0 comments on commit de431ab

Please sign in to comment.