Add joshmoore to admin team #9
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: Validate teams.yaml on PR | |
| on: | |
| pull_request: | |
| paths: ["teams.yaml"] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Mint GitHub App token | |
| id: app-token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ secrets.GH_APP_ID }} | |
| private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} | |
| owner: ${{ github.repository_owner }} | |
| - name: Validate account names in teams.yaml | |
| id: validate | |
| env: | |
| ORG: ${{ github.repository_owner }} | |
| TOKEN: ${{ steps.app-token.outputs.token }} | |
| run: | | |
| python -m pip install --quiet --upgrade pip | |
| python -m pip install --quiet pyyaml requests | |
| python scripts/validate_pr.py |