GH Issue 1186: Show validation indicator whenever validation disables the submit buttons #504
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
| --- | |
| # Workflow to validate Pull Request branches | |
| name: PR Validation | |
| # Trigger on PR creation | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - ready_for_review | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| validate_pr: | |
| if: github.event.pull_request.head.repo.owner.login == 'LabKey' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate PR Branches | |
| uses: LabKey/gitHubActions/validate-pr@develop | |
| with: | |
| pr_base: ${{ github.event.pull_request.base.ref }} | |
| pr_head: ${{ github.event.pull_request.head.ref }} | |
| pr_number: ${{ github.event.pull_request.number }} | |
| pr_title: ${{ github.event.pull_request.title }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |