Skip to content

Commit

Permalink
chore: test ci
Browse files Browse the repository at this point in the history
test ci.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Oct 22, 2024
1 parent 4a49f74 commit 1e54d96
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/slack-notify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
- name: Get PR number
id: get-pr-number
if: github.event.workflow_run.event == 'pull_request'
env:
GH_TOKEN: ${{ github.token }}
run: |
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
echo pull_request_number=$(echo ${{ github.event.workflow_run.pull_requests[0].number }}) >> $GITHUB_OUTPUT
- name: Slack Notify
uses: slackapi/slack-github-action@v1
with:
Expand Down

0 comments on commit 1e54d96

Please sign in to comment.