Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/reviewing_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ name: NodeJS SDK Test workflow on workflow_dispatch
on:
workflow_dispatch:
inputs:
pull_request_number:
description: 'The pull request number to build'
commit_sha:
description: 'The full commit id to build'
required: true

jobs:
Expand All @@ -27,16 +27,12 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: refs/pull/${{ github.event.inputs.pull_request_number }}/head
- name: Fetch Commit SHA
run: |
git log -1 --format='%H'
echo "commit_sha=$(git log -1 --format='%H')" >> $GITHUB_ENV
echo "commit_sha=$(git log -1 --format='%H')" >> $env:GITHUB_ENV
ref: ${{ github.event.inputs.commit_sha }}
- uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
id: status-check-in-progress
env:
job_name: Jest-js Repo ${{ matrix.node }} - ${{ matrix.os }} Sample
commit_sha: ${{ github.event.inputs.commit_sha }}
with:
github-token: ${{ github.token }}
script: |
Expand Down Expand Up @@ -71,6 +67,7 @@ jobs:
env:
conclusion: ${{ job.status }}
job_name: Jest-js Repo ${{ matrix.node }} - ${{ matrix.os }} Sample
commit_sha: ${{ github.event.inputs.commit_sha }}
with:
github-token: ${{ github.token }}
script: |
Expand Down