fix: Negative time duration for labels applied after issue close; Inflated metric numbers for unlabeled labels on open issues #89
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: Auto Labeler | |
on: | |
# pull_request event is required only for autolabeler | |
pull_request: | |
# Only following types are handled by the action, but one can default to all as well | |
types: [opened, reopened, synchronize] | |
# pull_request_target event is required for autolabeler to support PRs from forks | |
pull_request_target: | |
types: [opened, reopened, synchronize] | |
permissions: | |
contents: read | |
jobs: | |
main: | |
permissions: | |
contents: write | |
pull-requests: write | |
name: Auto label pull requests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
config-name: release-drafter.yml |