Explorer: Stop the favorites tests flaking on a stale-cache race #5
Workflow file for this run
This file contains hidden or 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: 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 |