We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1688cb commit 17254cfCopy full SHA for 17254cf
.github/workflows/pre-commit.yml
@@ -60,12 +60,13 @@ jobs:
60
with:
61
version: ${{ vars.NUSHELL_VERSION || '*' }}
62
- name: Get PR title
63
+ # working-directory: project-repo
64
shell: nu {0}
65
id: get-title
66
env:
67
GH_REPO: ${{ github.repository }}
68
GH_TOKEN: ${{ github.token }}
- PR_NUMBER: ${{ github.event_path.pr_number }}
69
+ PR_NUMBER: ${{ github.event.pull_request.number }}
70
run: |-
71
let pr_title = (
72
(^gh pr view $env.PR_NUMBER --repo $env.GH_REPO --json "title")
0 commit comments