🐛 Fix evaluating stringified annotations in Python 3.8 & 3.9 (also from __future__ import annotations)
#2294
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: Labels | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| # For label-checker | |
| - labeled | |
| - unlabeled | |
| jobs: | |
| labeler: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/labeler@v6 | |
| if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }} | |
| - run: echo "Done adding labels" | |
| # Run this after labeler applied labels | |
| check-labels: | |
| needs: | |
| - labeler | |
| permissions: | |
| pull-requests: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: docker://agilepathway/pull-request-label-checker:latest | |
| with: | |
| one_of: breaking,security,feature,bug,refactor,upgrade,docs,lang-all,internal | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} |