fix: add logic to slow down api calls to avoid rate limiting #337
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
# the mapping from filepath to label | |
# is defined in .github/label-github-issues-by-path.yml | |
name: "Label PR based on filepath" | |
on: | |
- pull_request_target | |
jobs: | |
add-label-based-on-file-changes: | |
name: "Label PRs based on files changes" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Label PR based on changed files" | |
uses: actions/labeler@v3 | |
with: | |
repo-token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}" | |
sync-labels: true |