refactor: replace map_or
with is_ok_and
and is_some_and
#10040
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
# Automatically labels PRs based on the configuration file | |
# you are probably looking for 👉 `.github/labeler.yml` | |
name: Label PRs | |
on: | |
- pull_request_target | |
jobs: | |
triage: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'biomejs' | |
steps: | |
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
sync-labels: true |