Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added default Actions and enabled Code Spaces support. #1

Merged
merged 6 commits into from
Jan 16, 2024
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
31 changes: 31 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Ubuntu",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:jammy",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/rchaganti/vsc-devcontainer-features/azurebicep:1": {},
"ghcr.io/azure/azure-dev/azd:0": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",

// Configure tool-specific properties.
"customizations": {
"vscode": {
"settings": {},
"extensions": ["mutantdino.resourcemonitor"]
}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
4 changes: 4 additions & 0 deletions .github/_typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[default.extend-words]
AKS = "AKS"
AddOns = "AddOns"
Addons = "Addons"
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "dependencies"
13 changes: 13 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Documentation:
- changed-files:
- any-glob-to-any-file: ['docs/**', '**/*.md']

Infrastructure:
- changed-files:
- any-glob-to-any-file: ['bicep/**']
- all-globs-to-all-files: '!bicep/*.md'

Software:
- changed-files:
- any-glob-to-any-file: ['software/**', 'stamp/**', 'charts/**']
- all-globs-to-all-files: ['!software/*.md', '!stamp/*.md', '!charts/*.md']
24 changes: 24 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
pull_request:
paths:
- "*.md"
- "docs/*.md"
workflow_dispatch:

name: Auto - Documentation Check
jobs:
SpellCheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Typo file contents check
shell: bash
run: cat ./.github/_typos.toml

# https://github.com/crate-ci/typos
- name: Check spelling of markdown files
uses: crate-ci/typos@master
with:
files: ./*.md
config: ./.github/_typos.toml
19 changes: 19 additions & 0 deletions .github/workflows/greet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto - Greet

on: [pull_request_target, issues]

jobs:
GreetBot:
runs-on: ubuntu-latest

permissions:
issues: write
pull-requests: write

steps:
- uses: actions/first-interaction@v1.1.1
continue-on-error: true
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Thanks for raising your first issue, the team appreciates the time you have taken 😉"
pr-message: "Thank you for the contribution, one of the team will evaluate shortly."
20 changes: 20 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Auto - Label

on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.user
*.userosscache
*.sln.docstates
.vscode

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# Project
# OSDU Developer

> This repo has been populated by an initial template to help get you started. Please
> make sure to update the content to build a great experience for community-building.
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

As the maintainer of this project, please make a few updates:

- Improving this README.MD file to provide a great experience
- Updating SUPPORT.MD with content about this project's support experience
- Understanding the security reporting process in SECURITY.MD
- Remove this section from the README
This project is intended to provide a simple way of providing a mechanism to develop for OSDU using the Azure Cloud.

## Contributing

Expand Down