We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f1e1e9 commit 2270855Copy full SHA for 2270855
.github/workflows/validate_pr.yml
@@ -0,0 +1,26 @@
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
+jobs:
14
+ validate_pr:
15
+ if: github.event.pull_request.head.repo.owner.login == 'LabKey'
16
+ runs-on: ubuntu-latest
17
18
+ steps:
19
+ - name: Validate PR Branches
20
+ uses: labkey-tchad/gitHubActions/validate-pr@master
21
+ with:
22
+ pr_base: ${{ github.event.pull_request.base.ref }}
23
+ pr_head: ${{ github.event.pull_request.head.ref }}
24
+ pr_number: ${{ github.event.pull_request.number }}
25
+ pr_title: ${{ github.event.pull_request.title }}
26
+ github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments