We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d11dfb commit 8c5ea19Copy full SHA for 8c5ea19
2 files changed
pull_request_template.md .github/pull_request_template.mdpull_request_template.md renamed to .github/pull_request_template.md
.github/workflows/validate_pr.yml
@@ -0,0 +1,29 @@
1
+---
2
+# Workflow to validate Pull Request branches
3
+name: PR Validation
4
+
5
+# Trigger on PR creation
6
+on:
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - reopened
11
+ - ready_for_review
12
13
+permissions:
14
+ pull-requests: write
15
16
+jobs:
17
+ validate_pr:
18
+ if: github.event.pull_request.head.repo.owner.login == 'LabKey'
19
+ runs-on: ubuntu-latest
20
21
+ steps:
22
+ - name: Validate PR Branches
23
+ uses: LabKey/gitHubActions/validate-pr@develop
24
+ with:
25
+ pr_base: ${{ github.event.pull_request.base.ref }}
26
+ pr_head: ${{ github.event.pull_request.head.ref }}
27
+ pr_number: ${{ github.event.pull_request.number }}
28
+ pr_title: ${{ github.event.pull_request.title }}
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments