Skip to content

Commit 3dcbead

Browse files
committed
chore(intital setup): Previous commit missed files
1 parent f64be70 commit 3dcbead

File tree

10 files changed

+821
-2
lines changed

10 files changed

+821
-2
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# PR Template
2+
3+
## TODO:
4+
Test it here too
5+
https://technologyenhancedlearning.github.io/GitPageBlazorWASM-TestGHPage/
6+
check version matches branch name and pullrequest release
7+
8+
## TODO: About
9+
- SO FAR no js controllers are not going to be covered in testing in the package it will be done by how used in LH
10+
But in future we could simulate them with just an api with stock response or find a programatic way, or build a hosted environment.
11+
The gh-page are pure wasm so not supported for nojs
12+
13+
- brave check no js (Locally not on wasm static test page)
14+
15+
## TODO: This is just replicating LH for now ... ideas
16+
- Link to replicated component
17+
- Link design confluence if coming from design
18+
- Tick box for JS
19+
- If testers find an issue create an automated test of what they did, even potentially with playright record test functionality
20+
- something about is there a linked lh branch using the change
21+
22+
### JIRA link
23+
[TD-####](https://hee-tis.atlassian.net/browse/TD-####)
24+
25+
### Description
26+
_Describe what has changed and how that will affect the app. If relevant, add links to any sources/documentation you used. Highlight anything unusual and give people context around particular decisions._
27+
28+
### Screenshots
29+
_Paste screenshots for all views created or changed: mobile, tablet and desktop, wave analyser showing no errors._
30+
31+
-----
32+
### Developer checks
33+
(Leave tasks unticked if they haven't been appropriate for your ticket.)
34+
35+
I have:
36+
- [ ] Run the IDE auto formatter on all files I’ve worked on and made sure there are no IDE errors relating to them
37+
- [ ] Written or updated tests for the changes (accessibility ui tests for views, tests for controller, data services, services, view models created or modified) and made sure all tests are passing
38+
- [ ] Manually tested my work with and without JavaScript (adding notes where functionality requires JavaScript)
39+
- [ ] Tested any Views or partials created or changed with [Wave Chrome plugin](https://chrome.google.com/webstore/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh/related). Addressed any valid accessibility issues and documented any invalid errors
40+
- [ ] Updated my Jira ticket with testing notes, including information about other parts of the system that were touched as part of the MR and need to be tested to ensure nothing is broken
41+
- [ ] Scanned over my pull request in GitHub and addressed any warnings from the GitHub Build and Test checks in the GitHub PR ‘Files Changed’ tab
42+
Either:
43+
- [ ] Documented my work in [Confluence](https://hee-tis.atlassian.net/wiki/spaces/TP/pages/3461087233/Development), updating any business rules applied or modified. Updated GitHub readme/documentation for the repository if appropriate. List of documentation links added/changed:
44+
- [doc_1_here](link_1_here)
45+
Or:
46+
- [ ] Confirmed that none of the work that I have undertaken requires any updates to documentation

.github/dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
updates:
3+
# Configuration for GitPageBlazorWASMProgressive
4+
- package-ecosystem: "nuget"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
open-pull-requests-limit: 100
9+
target-branch: "Automatic_version_update_dependabot"
10+
11+
- package-ecosystem: "npm"
12+
directory: "/TELBlazor/TELBlazor.Components"
13+
schedule:
14+
interval: "daily"
15+
open-pull-requests-limit: 100
16+
target-branch: "Automatic_version_update_dependabot"
17+
18+
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# The intention is minor and patch should be merged into the dependabot branch automatically
2+
# qqqq normal pr checks should be used either by the pull-request script, the checks set up in git, or by referencing the checks from another workflow here
3+
4+
name: Dependabot Auto-Merge
5+
6+
on:
7+
pull_request:
8+
branches: [ Automatic_version_update_dependabot ]
9+
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
14+
jobs:
15+
# qqqq need branch protection rules to ensure checks passed before this runs and ensure its passed
16+
auto-merge-minor-and-patch:
17+
runs-on: ubuntu-latest
18+
if: ${{ github.actor == 'dependabot[bot]' }}
19+
steps:
20+
- name: Extract update type
21+
id: extract
22+
run: |
23+
PR_TITLE="${{ github.event.pull_request.title }}"
24+
if [[ $PR_TITLE == *"(major)"* ]]; then
25+
echo "update_type=major" >> $GITHUB_OUTPUT
26+
else
27+
echo "update_type=minor_or_patch" >> $GITHUB_OUTPUT
28+
fi
29+
30+
- name: Set up GitHub CLI
31+
uses: cli/cli-action@v2
32+
33+
- name: Auto-merge non-major updates
34+
if: ${{ steps.extract.outputs.update_type == 'minor_or_patch' }}
35+
run: gh pr merge --auto --merge "$PR_URL"
36+
env:
37+
PR_URL: ${{ github.event.pull_request.html_url }}
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)