Add warnings about upcoming deprecation of Python 3.8 #2016
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
# Auto-approve hotfix pull requests. | |
# | |
# SOC-2 requires that all Github pull requests have 1 independent approval. | |
# | |
# > SOC 2 CM-03 | |
# > System changes are approved by at least 1 independent person prior to deployment into production. | |
# | |
# We don't want hotfixes blocked on approval because they're 'emergency' changes, | |
# so we use this script and a Github Actions workflow (.github/workflows/pr_autoapprove.yml) | |
# to ensure hotfixes are immediately approved. | |
name: PR autoapprove | |
on: | |
pull_request: | |
types: [opened, reopened, labeled, edited] | |
pull_request_review: | |
types: [dismissed] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
autoapproval: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
runs-on: ubuntu-latest | |
name: Pull Request Auto-approval | |
steps: | |
- uses: actions/checkout@v3 | |
- run: python -m pip install --upgrade pip && pip install httpx | |
# prettier-ignore | |
- run: | |
python3 .github/workflows/pr_autoapprove.py ${{ toJSON(github.event.pull_request.title) }} "${{ github.event.pull_request.number }}" |