vim: add master version #5954
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
| #----------------------------------------------------------------------- | |
| # DO NOT modify unless you really know what you are doing. | |
| # | |
| # See https://stackoverflow.com/a/74959635 for more info. | |
| # Talk to @alecbcs if you have questions/are not sure of a change's | |
| # possible impact to security. | |
| #----------------------------------------------------------------------- | |
| name: triage | |
| on: | |
| pull_request_target: | |
| branches: | |
| - develop | |
| jobs: | |
| pr: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 | |
| with: | |
| ref: develop # DO NOT CHANGE | |
| - uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf | |
| id: generate-spackbot-token | |
| with: | |
| app-id: ${{ secrets.SPACKBOT_TRIAGE_APP_ID }} | |
| private-key: ${{ secrets.SPACKBOT_TRIAGE_PRIVATE_KEY }} | |
| - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 | |
| - uses: ./.github/actions/checkout-spack | |
| - name: Install Python dependencies | |
| run: pip install -r .github/workflows/requirements/triage/requirements.txt | |
| - name: Label PR | |
| run: | | |
| python3 .github/workflows/bin/spack-labeler.py | |
| env: | |
| GH_PR_NUMBER: ${{ github.event.number }} | |
| GH_REPO: ${{ github.repository }} | |
| GH_TOKEN: ${{ steps.generate-spackbot-token.outputs.token }} | |
| LABELS_CONFIG: .github/labels.yml | |
| - name: Tag Maintainers on PR | |
| run: | | |
| . spack-core/share/spack/setup-env.sh | |
| spack-python .github/workflows/bin/spack-reviewers.py | |
| env: | |
| GH_PR_NUMBER: ${{ github.event.number }} | |
| GH_REPO: ${{ github.repository }} | |
| GH_TOKEN: ${{ steps.generate-spackbot-token.outputs.token }} |