diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 5c955e9..d5d35cb 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -35,7 +35,8 @@ jobs: comment_body: ${{ github.event.comment.body }} - name: Display PR number - run: echo "This pull request is #${{ github.event.pull_request.number }}" + if: ${{ github.event.issue.pull_request }} + run: echo "This pull request is ${{ github.event.pull_request.number }}" - name: Run labeler action for PR if: ${{ github.event.issue.pull_request }} diff --git a/utilities/labeler/README.md b/utilities/labeler/README.md index dd18091..84857e4 100644 --- a/utilities/labeler/README.md +++ b/utilities/labeler/README.md @@ -37,4 +37,6 @@ When a commit changes anything that matches the filepath, the rules defined shou When the remove-label action is present, it should remove the matching label if present -When the apply-label action is used, it should ONLY apply a label if the label exists. \ No newline at end of file +When the apply-label action is used, it should ONLY apply a label if the label exists. + +oh look an update. please work \ No newline at end of file