File tree Expand file tree Collapse file tree 3 files changed +10
-55
lines changed
Expand file tree Collapse file tree 3 files changed +10
-55
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ updates:
1010
1111
1212# Root-level configuration for automerge and versioning
13+ # not working needs seperate script and branch rules
1314automerge :
1415 enable : true
1516 allow :
@@ -20,32 +21,3 @@ automerge:
2021 - update-type : " digest"
2122
2223versioning-strategy : auto
23-
24- n not tried
25- # name: "Dependabot Automerge - Action"
26-
27- # on:
28- # pull_request:
29-
30- # jobs:
31- # worker:
32- # runs-on: ubuntu-latest
33-
34- # if: github.actor == 'dependabot[bot]'
35- # steps:
36- # - name: automerge
37- 38- # with:
39- # script: |
40- # github.pullRequests.createReview({
41- # owner: context.payload.repository.owner.login,
42- # repo: context.payload.repository.name,
43- # pull_number: context.payload.pull_request.number,
44- # event: 'APPROVE'
45- # })
46- # github.pullRequests.merge({
47- # owner: context.payload.repository.owner.login,
48- # repo: context.payload.repository.name,
49- # pull_number: context.payload.pull_request.number
50- # })
51- # github-token: ${{github.token}}
Original file line number Diff line number Diff line change 11name : Pull Request Checks
22
33on : pull_request
4+ branches :
5+ - master
46jobs :
57
68 branch-name-check :
2224 exit 1
2325 fi
2426
25- # qqqq repo will need branch protection rules and PR Template
27+ # qqqq repo will need branch protection rules and PR Templatebr
2628 commitlint :
2729 name : commitlint
2830 runs-on : ubuntu-latest
7072 steps :
7173 - name : Code Coverage
7274 run : echo "TODO Code Coverage"
73-
74- # All-Checks-Passed:
75- # name: all checks passed
76- # runs-on: ubuntu-latest
77- # needs:
78- # - branch-name-check
79- # - commitlint
80- # - gitguardian-scan
81- # - Unit-Tests
82- # - E2E-Tests
83- # - Code-Coverage
84- # #if: ${{ success() }}
85- # steps:
86- # - name: all checks passed steps
87- # run: echo "allow all checks to run incase multiple fails then fail here"
88-
89- # wanted to do it like this it worked neither is putting check in pr git ui but is running in pipeline
90- # Code-Coverage:
91- # name: code coverage
92- # runs-on: ubuntu-latest
93- # if: success() || failure()
94- # steps:
95- # - name: Code Coverage
96- # run: echo "TODO Code Coverage"
97- # continue-on-error: true
75+ # code coverage
76+ # these need to be reference in repo ruleset by name
77+ # https://github.com/TechnologyEnhancedLearning/GitPageBlazorWASM/settings/rules
Original file line number Diff line number Diff line change 33 {
44 "name" : " master"
55 },
6+ {
7+ "name" : " Automatic_version_update_dependabot"
8+ },
69 {
710 "name" : " feat-*" ,
811 "prerelease" : true
You can’t perform that action at this time.
0 commit comments