Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 1 addition & 29 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ updates:


# Root-level configuration for automerge and versioning
#not working needs seperate script and branch rules
automerge:
enable: true
allow:
Expand All @@ -20,32 +21,3 @@ automerge:
- update-type: "digest"

versioning-strategy: auto

n not tried
# name: "Dependabot Automerge - Action"

# on:
# pull_request:

# jobs:
# worker:
# runs-on: ubuntu-latest

# if: github.actor == 'dependabot[bot]'
# steps:
# - name: automerge
# uses: actions/[email protected]
# with:
# script: |
# github.pullRequests.createReview({
# owner: context.payload.repository.owner.login,
# repo: context.payload.repository.name,
# pull_number: context.payload.pull_request.number,
# event: 'APPROVE'
# })
# github.pullRequests.merge({
# owner: context.payload.repository.owner.login,
# repo: context.payload.repository.name,
# pull_number: context.payload.pull_request.number
# })
# github-token: ${{github.token}}
32 changes: 6 additions & 26 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Pull Request Checks

on: pull_request
branches:
- master
jobs:

branch-name-check:
Expand All @@ -22,7 +24,7 @@ jobs:
exit 1
fi

# qqqq repo will need branch protection rules and PR Template
# qqqq repo will need branch protection rules and PR Templatebr
commitlint:
name: commitlint
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,28 +72,6 @@ jobs:
steps:
- name: Code Coverage
run: echo "TODO Code Coverage"

# All-Checks-Passed:
# name: all checks passed
# runs-on: ubuntu-latest
# needs:
# - branch-name-check
# - commitlint
# - gitguardian-scan
# - Unit-Tests
# - E2E-Tests
# - Code-Coverage
# #if: ${{ success() }}
# steps:
# - name: all checks passed steps
# run: echo "allow all checks to run incase multiple fails then fail here"

# wanted to do it like this it worked neither is putting check in pr git ui but is running in pipeline
# Code-Coverage:
# name: code coverage
# runs-on: ubuntu-latest
#if: success() || failure()
# steps:
# - name: Code Coverage
# run: echo "TODO Code Coverage"
#continue-on-error: true
# code coverage
# these need to be reference in repo ruleset by name
# https://github.com/TechnologyEnhancedLearning/GitPageBlazorWASM/settings/rules
3 changes: 3 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
{
"name": "master"
},
{
"name": "Automatic_version_update_dependabot"
},
{
"name": "feat-*",
"prerelease": true
Expand Down
Loading