shim: Implement the pause and resume interfaces #503
Workflow file for this run
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
name: PR Labeler | |
on: | |
# Runs workflow when activity on a PR in the workflow's repository occurs. | |
pull_request_target: | |
jobs: | |
triage: | |
permissions: | |
contents: read | |
pull-requests: write | |
name: Assign labels | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
# Required by gh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
steps: | |
- uses: actions/labeler@v5 | |
with: | |
# Auto-include paths starting with dot (e.g. .github) | |
dot: true | |
# Remove labels when matching files are reverted or no longer changed by the PR | |
sync-labels: true | |
# Apply OS-windows label if PR title contains 'Windows' | |
- run: gh pr edit $PR_URL --add-label OS-windows | |
if: contains(github.event.pull_request.title, 'Windows') |