Skip to content

IO: Show previews for files that need root or ADB access #6

IO: Show previews for files that need root or ADB access

IO: Show previews for files that need root or ADB access #6

Workflow file for this run

name: PR labeler
# Applies component and platform/scope labels based on the paths a PR touches.
# The mapping lives in .github/labeler.yml.
#
# pull_request_target is required so PRs from forks and from dependabot get a
# token that can write labels. It is safe here because this workflow never
# checks out or executes the PR's code, it only reads the changed file list
# through the API. Do not add a checkout step.
#
# Two consequences of pull_request_target: the config is read from the base
# branch, so changes to labeler.yml only apply after they land on main, and
# this workflow will not label the PR that introduces it.
on:
pull_request_target:
types: [opened, synchronize, reopened]
permissions: {}
concurrency:
group: pr-labeler-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
label:
name: Apply path labels
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Apply labels
uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 #v7.0.0
with:
# Labels are pre-created in the repository, so issues:write is not needed.
# sync-labels stays off so manually added labels are never stripped.
sync-labels: false