Skip to content

Commit

Permalink
feat: use the latest SSW.GitHub.Template (#680)
Browse files Browse the repository at this point in the history
Co-authored-by: AttackOnMorty <[email protected]>
  • Loading branch information
AttackOnMorty and AttackOnMorty authored Apr 22, 2024
1 parent 6dcac82 commit 7fa0b05
Show file tree
Hide file tree
Showing 5 changed files with 181 additions and 42 deletions.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/5-video.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: "🎥 Video"
about: "Upload weekly Sprint Review & Planning videos to YouTube channel"
title: "🎥 Upload Sprint {{ SPRINT_NUM }} video to YouTube channel"
labels: "Type: Video"
assignees: ""

---

Cc: {{ PRODUCT_OWNER }}

Video Title
```
Sprint {{ SPRINT_NUM }} - {{ PROJECT }} - Review & Planning Meeting {{ YYYY-MM-DD }}
```

Video Description:
```
Join us for Sprint {{ SPRINT_NUM }} - {{ PROJECT }} - Review & Planning Meeting
{{ TIMESTAMP_SUMMARY_FROM_AI }}
🔗 Links:
{{ PUBLIC_LINKS }}
<!-- product page or social media page, if applicable -->
```

Video Thumbnail Template:
{{ PATH_TO_POWERPOINT_FILE }}
<!--
Thumbnail Generation - take a screenshot in PowerPoint fullscreen mode (1920x1080)
-->

### Acceptance Criteria
1. Public can see this week's video on YouTube channel

### Tasks
- [ ] Upload this week's Sprint video with Title and Description to YouTube channel
- [ ] Generate thumbnail from the template and add it to the video
- [ ] Add the video to the Playlist

### Information
- YouTube Channel {{ YOUTUBE_CHANNEL_LINK }}
- Playlist {{ PLAYLIST_LINK }}

16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "⬆️ github-actions"

- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "⬆️ nuget"
39 changes: 39 additions & 0 deletions .github/workflows/pr-manage-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Contributors: @wicksipedia @william-liebenberg @GordonBeeming
# < as per SSW.Rules: https://www.ssw.com.au/rules/standard-set-of-pull-request-workflows/ >

name: "PR - Manage Stale PRs"

on:
schedule:
# https://crontab.guru/#0_20_*_*_0 - At 20:00 on Sunday (UTC)
- cron: '0 20 * * 0'
workflow_dispatch:

permissions:
contents: read
issues: read
pull-requests: write

jobs:
review-reminder:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: -1 # don't mark issues as stale
days-before-pr-stale: 3
days-before-close: -1 # don't close issues/PRs
exempt-draft-pr: true
ignore-updates: true
stale-pr-message: |
Hi there!
This PR has been here a while.
[Did you know you should avoid merge debt?] (https://www.ssw.com.au/rules/merge-debt/)
Please review and merge or close.
Thanks!
33 changes: 33 additions & 0 deletions .github/workflows/pr-metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Contributors: @wicksipedia @william-liebenberg
# < as per SSW.Rules: https://www.ssw.com.au/rules/standard-set-of-pull-request-workflows/ >

name: "PR - t-shirt size the pr"

on:
pull_request:
types: [opened, synchronize, reopened]


jobs:
triage:
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write
statuses: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: microsoft/[email protected]
name: PR Metrics
env:
PR_METRICS_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
base-size: 200
growth-rate: 2.0
test-factor: 1.0
continue-on-error: true
89 changes: 47 additions & 42 deletions labeler_labels.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,49 @@
{
"labels": [
{
"name": "Type: Feature",
"description": "A suggested idea for this project",
"color": "6DFF6D"
},
{
"name": "Type: Bug",
"description": "A problem with existing functionality",
"color": "FF2222"
},
{
"name": "Type: DevOps",
"description": "Setting up of DevOps processes e.g. GitHub Actions, Azure DevOps Pipelines etc",
"color": "1D76DB"
},
{
"name": "Type: Refactor",
"description": "A code quality improvement e.g. Tech debt",
"color": "0E8A16"
},
{
"name": "Type: Documentation",
"description": "Updating documentation (e.g. README, Wiki, Guides etc.)",
"color": "BABABA"
},
{
"name": "Area: Backend",
"description": "Relates to backend development e.g. API, Database etc",
"color": "5319E7"
},
{
"name": "Area: Frontend",
"description": "Relates to frontend development e.g. Angular, React, XAML etc",
"color": "AC97F2"
},
{
"name": "Good First Issue",
"description": "Great for a developer just starting out on this project",
"color": "7057ff"
}
]
"labels": [
{
"name": "Type: Feature",
"description": "A suggested idea for this project",
"color": "6DFF6D"
},
{
"name": "Type: Bug",
"description": "A problem with existing functionality",
"color": "FF2222"
},
{
"name": "Type: DevOps",
"description": "Setting up of DevOps processes e.g. GitHub Actions, Azure DevOps Pipelines etc",
"color": "1D76DB"
},
{
"name": "Type: Refactor",
"description": "A code quality improvement e.g. Tech debt",
"color": "0E8A16"
},
{
"name": "Type: Documentation",
"description": "Updating documentation (e.g. README, Wiki, Guides etc.)",
"color": "BABABA"
},
{
"name": "Type: Video",
"description": "Upload video to YouTube channel",
"color": "333333"
},
{
"name": "Area: Backend",
"description": "Relates to backend development e.g. API, Database etc",
"color": "5319E7"
},
{
"name": "Area: Frontend",
"description": "Relates to frontend development e.g. Angular, React, XAML etc",
"color": "AC97F2"
},
{
"name": "Good First Issue",
"description": "Great for a developer just starting out on this project",
"color": "7057ff"
}
]
}

0 comments on commit 7fa0b05

Please sign in to comment.