Skip to content

Commit f54304b

Browse files
authored
Merge pull request #7 from FullStackWithLawrence/copilot-video
Copilot video
2 parents dacbb75 + 69c1004 commit f54304b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+514
-95
lines changed

.github/CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributing
2+
3+
The repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE license, and follows a standard Github development process, using Github tracker for issues and merging pull requests into master.

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: lpm0073
4+
patreon: lpm0073

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Pull Request Template
2+
3+
## Type of Change
4+
<!-- What type of change does your code introduce? -->
5+
- [ ] New feature
6+
- [ ] Bug fix
7+
- [ ] Documentation
8+
- [ ] Refactor
9+
- [ ] Chore
10+
11+
## Resolves
12+
13+
- Fixes #[Add issue number here.]
14+
15+
## Describe Changes
16+
17+
<!-- Describe your changes in detail, if applicable. -->
18+
_Describe what this Pull Request does_

.github/dependabot.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
version: 2
22
updates:
3-
- package-ecosystem: docker
3+
- package-ecosystem: terraform
44
directory: "/"
55
schedule:
66
interval: daily
77
open-pull-requests-limit: 10
8-
- package-ecosystem: terraform
8+
- package-ecosystem: "pip"
99
directory: "/"
1010
schedule:
11-
interval: daily
12-
open-pull-requests-limit: 10
11+
interval: "weekly"
12+
- package-ecosystem: "pip"
13+
directory: "/api/terraform/python/"
14+
schedule:
15+
interval: "weekly"
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: "🐛 Bug Report"
2+
description: Create a new ticket for a bug.
3+
title: "🐛 [BUG] - <title>"
4+
labels: [
5+
"bug"
6+
]
7+
body:
8+
- type: textarea
9+
id: description
10+
attributes:
11+
label: "Description"
12+
description: Please enter an explicit description of your issue
13+
placeholder: Short and explicit description of your incident...
14+
validations:
15+
required: true
16+
- type: input
17+
id: reprod-url
18+
attributes:
19+
label: "Reproduction URL"
20+
description: Please enter your GitHub URL to provide a reproduction of the issue
21+
placeholder: ex. https://github.com/USERNAME/REPO-NAME
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: reprod
26+
attributes:
27+
label: "Reproduction steps"
28+
description: Please enter an explicit description of your issue
29+
value: |
30+
1. Go to '...'
31+
2. Click on '....'
32+
3. Scroll down to '....'
33+
4. See error
34+
render: bash
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: screenshot
39+
attributes:
40+
label: "Screenshots"
41+
description: If applicable, add screenshots to help explain your problem.
42+
value: |
43+
![DESCRIPTION](LINK.png)
44+
render: bash
45+
validations:
46+
required: false
47+
- type: textarea
48+
id: logs
49+
attributes:
50+
label: "Logs"
51+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
52+
render: bash
53+
validations:
54+
required: false
55+
- type: dropdown
56+
id: browsers
57+
attributes:
58+
label: "Browsers"
59+
description: What browsers are you seeing the problem on ?
60+
multiple: true
61+
options:
62+
- Firefox
63+
- Chrome
64+
- Safari
65+
- Microsoft Edge
66+
- Opera
67+
validations:
68+
required: false
69+
- type: dropdown
70+
id: os
71+
attributes:
72+
label: "OS"
73+
description: What is the impacted environment ?
74+
multiple: true
75+
options:
76+
- Windows
77+
- Linux
78+
- Mac
79+
validations:
80+
required: false
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: "💡 Feature Request"
2+
description: Create a new ticket for a new feature request
3+
title: "💡 [REQUEST] - <title>"
4+
labels: [
5+
"question"
6+
]
7+
body:
8+
- type: input
9+
id: start_date
10+
attributes:
11+
label: "Start Date"
12+
description: Start of development
13+
placeholder: "month/day/year"
14+
validations:
15+
required: false
16+
- type: textarea
17+
id: implementation_pr
18+
attributes:
19+
label: "Implementation PR"
20+
description: Pull request used
21+
placeholder: "#Pull Request ID"
22+
validations:
23+
required: false
24+
- type: textarea
25+
id: reference_issues
26+
attributes:
27+
label: "Reference Issues"
28+
description: Common issues
29+
placeholder: "#Issues IDs"
30+
validations:
31+
required: false
32+
- type: textarea
33+
id: summary
34+
attributes:
35+
label: "Summary"
36+
description: Provide a brief explanation of the feature
37+
placeholder: Describe in a few lines your feature request
38+
validations:
39+
required: true
40+
- type: textarea
41+
id: basic_example
42+
attributes:
43+
label: "Basic Example"
44+
description: Indicate here some basic examples of your feature.
45+
placeholder: A few specific words about your feature request.
46+
validations:
47+
required: true
48+
- type: textarea
49+
id: drawbacks
50+
attributes:
51+
label: "Drawbacks"
52+
description: What are the drawbacks/impacts of your feature request ?
53+
placeholder: Identify the drawbacks and impacts while being neutral on your feature request
54+
validations:
55+
required: true
56+
- type: textarea
57+
id: unresolved_question
58+
attributes:
59+
label: "Unresolved questions"
60+
description: What questions still remain unresolved ?
61+
placeholder: Identify any unresolved issues.
62+
validations:
63+
required: false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Check Pull Request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
name: release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3.5.2
15+
16+
- name: Semantic Release
17+
uses: cycjimmy/semantic-release-action@v3
18+
with:
19+
branch: main
20+
extra_plugins: |
21+
@semantic-release/git
22+
@semantic-release/changelog
23+
dry_run: true
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.PAT }}

.github/workflows/dependabot-terraform.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#---------------------------------------------------------
2+
# - Create a semantical release
3+
# - Set latest tag
4+
#---------------------------------------------------------
5+
name: Create a new release
6+
7+
on: workflow_dispatch
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
# required antecedent
15+
- uses: actions/checkout@v3.5.2
16+
17+
- name: Semantic Release
18+
uses: cycjimmy/semantic-release-action@v3
19+
id: semantic
20+
with:
21+
branches: |
22+
[
23+
'+([0-9])?(.{+([0-9]),x}).x',
24+
'main',
25+
'next',
26+
'next-major',
27+
{
28+
name: 'beta',
29+
prerelease: true
30+
},
31+
{
32+
name: 'alpha',
33+
prerelease: true
34+
}
35+
]
36+
extra_plugins: |
37+
@semantic-release/git
38+
@semantic-release/changelog
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.PAT }}
41+
42+
- name: Publish To GitHub Package Registry
43+
if: steps.semantic.outputs.new_release_published == 'true'
44+
run: echo "new release was published"
45+
shell: bash
46+
47+
- name: Push updates to branch for major version
48+
if: steps.semantic.outputs.new_release_published == 'true'
49+
run: "git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}"
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.PAT }}

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#---------------------------------------------------------
2+
# - Setup AWS CLI environment using the secrets from this repo.
3+
# - Try to build and upload the image.
4+
#---------------------------------------------------------
5+
name: Test this action
6+
7+
on: workflow_dispatch
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
# required antecedent
15+
- uses: actions/checkout@v3.5.2
16+
17+
# required antecedent
18+
- name: Configure AWS credentials
19+
uses: aws-actions/configure-aws-credentials@v3.0.1
20+
with:
21+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
22+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
23+
aws-region: ${{ secrets.AWS_REGION }}
24+
25+
# This action
26+
- name: Use the action in this repo to add a theme to an openedx build
27+
uses: ./
28+
with:
29+
repository: 'edx.custom-theme'
30+
repository-ref: 'master'
31+
repository-organization: lpm0073

0 commit comments

Comments
 (0)