Skip to content

Commit 1e54d96

Browse files
committed
chore: test ci
test ci. Signed-off-by: Noel Georgi <[email protected]>
1 parent 4a49f74 commit 1e54d96

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/slack-notify.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ jobs:
1919
- name: Get PR number
2020
id: get-pr-number
2121
if: github.event.workflow_run.event == 'pull_request'
22-
env:
23-
GH_TOKEN: ${{ github.token }}
2422
run: |
25-
echo pull_request_number=$(gh pr view -R ${{ github.repository }} ${{ github.event.workflow_run.head_repository.owner.login }}:${{ github.event.workflow_run.head_branch }} --json number --jq .number) >> $GITHUB_OUTPUT
23+
echo pull_request_number=$(echo ${{ github.event.workflow_run.pull_requests[0].number }}) >> $GITHUB_OUTPUT
2624
- name: Slack Notify
2725
uses: slackapi/slack-github-action@v1
2826
with:

0 commit comments

Comments
 (0)