mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
- Restrict pull-request-target.yml to only 'opened' and 'synchronize' events to reduce unnecessary API calls that exhaust the rate limit - Fix 'bugpost' typo back to 'bugfix' in pr_enforce_labels.yml
18 lines
512 B
YAML
18 lines
512 B
YAML
name: "Pull Request Labeler"
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, synchronize]
|
|
# Do not execute arbitrary code on this workflow.
|
|
# See warnings at https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target
|
|
|
|
jobs:
|
|
labeler:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-24.04-arm
|
|
steps:
|
|
- id: label-the-PR
|
|
uses: actions/labeler@v6
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|