mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 00:22:57 -05:00
pr-overlap and area-labels walked every open PR on each run, spending the 1000 requests/hour that GITHUB_TOKEN gets per repository and starving the other workflows (HTTP 403 'rate limit exceeded for installation'). pr-overlap keeps a hash of each report in actions/cache and only reads the comments of PRs whose report changed. area-labels keeps head SHA plus the labeler.yml blob per PR and labels only the changed ones, at most 40 per run. conflict-label gets a concurrency group so pushes in a row don't stack full passes.
26 lines
444 B
YAML
26 lines
444 B
YAML
name: Conflict label
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
schedule:
|
|
- cron: '0 * * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: conflict-label
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
label:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
- uses: eps1lon/actions-label-merge-conflict@v3
|
|
with:
|
|
dirtyLabel: needs rebase
|
|
repoToken: ${{ secrets.GITHUB_TOKEN }}
|