Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Setting default repo
  • Loading branch information
Keboo authored Jan 5, 2023
commit 9df61ef13976233ca3d4330af5e1ae10a49a2298
1 change: 1 addition & 0 deletions .github/workflows/nightly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- id: check_for_changes
name: Check for changes
run: |
gh repo set-default "${{ github.repository }}"
$workflowList = gh run list --workflow "${{ github.workflow }}" --branch "${{ github.ref_name }}" --json databaseId --limit 1
$runId = ($workflowList | ConvertFrom-Json)[0].databaseId
$lastRunHash = ((gh run view $runId --json headSha) | ConvertFrom-Json).headSha
Expand Down