feat: modified listener to use streams which are re-created every 60 seconds with context timeout #365
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Labeler | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
auto-label: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Find Current Pull Request | |
uses: jwalton/gh-find-current-pr@v1.3.2 | |
id: findPr | |
with: | |
# Can be "open", "closed", or "all". Defaults to "open". | |
state: open | |
- run: echo "PR Number is ${PR}" | |
if: success() && steps.findPr.outputs.number | |
env: | |
PR: ${{ steps.findPr.outputs.pr }} | |
- name: check pr pr-number | |
run: echo ${{ github.event.number }} | |
- uses: actions/labeler@v4 | |
with: | |
dot: true | |
pr-number: ${{ steps.findPr.outputs.pr }} |