diff --git a/.github/delete-merged-branch-config.yml b/.github/delete-merged-branch-config.yml
new file mode 100644
index 0000000..1e3de62
--- /dev/null
+++ b/.github/delete-merged-branch-config.yml
@@ -0,0 +1,3 @@
+delete_closed_pr: true
+exclude:
+ - testing
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 0000000..fe6e1f7
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,12 @@
+## Summary
+
+### Goal:
+What is this branch trying to accomplish?
+
+
+### Changes:
+What did you do?
+
+
+### Notes:
+Anything reviewers should know?
diff --git a/.github/release.yml b/.github/release.yml
new file mode 100644
index 0000000..0df4669
--- /dev/null
+++ b/.github/release.yml
@@ -0,0 +1,27 @@
+runs-on: self-hosted
+
+changelog:
+ exclude:
+ labels:
+ - ignore-for-release
+ authors:
+ - octocat
+ categories:
+ - title: '🚀 Features'
+ labels:
+ - 'feature'
+ - 'feature request'
+ - 'enhancement'
+ - 'add'
+ - title: '🐛 Bug Fixes'
+ labels:
+ - 'fix'
+ - 'bugfix'
+ - 'bug'
+ - 'broke'
+ - title: '🧰 Maintenance'
+ labels:
+ - 'chore'
+ - title: Other Changes
+ labels:
+ - "*"
\ No newline at end of file
diff --git a/.github/workflows/add-to-project.yaml b/.github/workflows/add-to-project.yaml
new file mode 100644
index 0000000..ff50653
--- /dev/null
+++ b/.github/workflows/add-to-project.yaml
@@ -0,0 +1,25 @@
+name: Add Issue to Project
+
+on:
+ issues:
+ types:
+ - opened
+
+
+jobs:
+ add-to-project:
+ name: Add Issue to Project
+ runs-on: self-hosted
+ steps:
+ - name: Generate a token
+ id: generate-token
+ uses: actions/create-github-app-token@v2
+ with:
+ app-id: ${{ secrets.JUNO_CI_APP_ID }}
+ private-key: ${{ secrets.JUNO_CI_APP_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ - uses: actions/add-to-project@main
+ with:
+ project-url: https://github.com/orgs/juno-fx/projects/12
+ github-token: ${{ steps.generate-token.outputs.token }}
+
diff --git a/.github/workflows/branch-cleanup.yml b/.github/workflows/branch-cleanup.yml
new file mode 100644
index 0000000..2b471d8
--- /dev/null
+++ b/.github/workflows/branch-cleanup.yml
@@ -0,0 +1,21 @@
+name: Delete Branch on PR Close
+on:
+ pull_request:
+ types: [closed]
+
+jobs:
+ delete-branch:
+ runs-on:
+ - self-hosted
+ steps:
+ - name: Generate a token
+ id: generate-token
+ uses: actions/create-github-app-token@v2
+ with:
+ app-id: ${{ secrets.JUNO_CI_APP_ID }}
+ private-key: ${{ secrets.JUNO_CI_APP_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ - name: delete branch
+ uses: SvanBoxel/delete-merged-branch@main
+ env:
+ GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
diff --git a/.github/workflows/pr-gChat-notification.yaml b/.github/workflows/pr-gChat-notification.yaml
new file mode 100644
index 0000000..20f2b08
--- /dev/null
+++ b/.github/workflows/pr-gChat-notification.yaml
@@ -0,0 +1,45 @@
+name: PR Message
+
+on:
+ pull_request:
+ types:
+ - review_requested
+
+jobs:
+ google-chat-action:
+ runs-on: self-hosted
+ steps:
+ - name: Generate a token
+ id: generate-token
+ uses: actions/create-github-app-token@v2
+ with:
+ app-id: ${{ secrets.JUNO_CI_APP_ID }}
+ private-key: ${{ secrets.JUNO_CI_APP_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ - name: Checkout CI repository
+ uses: actions/checkout@v4
+ with:
+ repository: juno-fx/ci
+ ref: main
+ path: .juno-ci
+ token: ${{ steps.generate-token.outputs.token }}
+ - name: Run Google Chat notification
+ uses: ./.juno-ci/actions/workflow/pr-gChat-notification
+ with:
+ webhookUrl: ${{ secrets.GCHAT_PR_SPACE }}
+ title: ${{ github.repository }}
+ subtitle: ${{ github.head_ref }}
+ additionalSections: >
+ {
+ "header": "Requested Reviewer",
+ "widgets": [
+ {
+ "decoratedText": {
+ "text": "${{ github.event.requested_reviewer && github.event.requested_reviewer.login || github.event.requested_team && github.event.requested_team.name || 'N/A' }}",
+ "icon": {
+ "knownIcon": "PERSON"
+ }
+ }
+ }
+ ]
+ }
diff --git a/.github/workflows/pr-on-branch-creation.yml b/.github/workflows/pr-on-branch-creation.yml
new file mode 100644
index 0000000..242b48d
--- /dev/null
+++ b/.github/workflows/pr-on-branch-creation.yml
@@ -0,0 +1,34 @@
+on:
+ create:
+
+permissions:
+ contents: write
+ issues: write
+ pull-requests: write
+ repository-projects: read # github's current permission scheme makes this necessary: https://github.com/cli/cli/issues/6274
+
+jobs:
+ PR:
+ runs-on: self-hosted
+ if: github.event.ref_type == 'branch'
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ - name: Generate a token
+ id: generate-token
+ uses: actions/create-github-app-token@v2
+ with:
+ app-id: ${{ secrets.JUNO_CI_APP_ID }}
+ private-key: ${{ secrets.JUNO_CI_APP_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ - name: Checkout CI repository
+ uses: actions/checkout@v4
+ with:
+ repository: juno-fx/ci
+ ref: main
+ path: .juno-ci
+ token: ${{ steps.generate-token.outputs.token }}
+ - name: Run PR on branch creation
+ uses: ./.juno-ci/actions/workflow/pr-on-branch-creation
+ with:
+ gh_token: ${{ steps.generate-token.outputs.token }}
diff --git a/.github/workflows/run-cleanup.yml b/.github/workflows/run-cleanup.yml
new file mode 100644
index 0000000..889858d
--- /dev/null
+++ b/.github/workflows/run-cleanup.yml
@@ -0,0 +1,30 @@
+name: Delete old workflow runs
+on:
+ push:
+ paths:
+ - '.github/workflows/run-cleanup.yml'
+ workflow_dispatch:
+ schedule:
+ - cron: '0 0 * * 1'
+jobs:
+ del_runs:
+ runs-on:
+ - self-hosted
+ permissions:
+ actions: write
+ contents: read
+ steps:
+ - name: Generate a token
+ id: generate-token
+ uses: actions/create-github-app-token@v2
+ with:
+ app-id: ${{ secrets.JUNO_CI_APP_ID }}
+ private-key: ${{ secrets.JUNO_CI_APP_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ - name: Delete workflow runs
+ uses: Mattraks/delete-workflow-runs@v2
+ with:
+ token: ${{ steps.generate-token.outputs.token }}
+ repository: ${{ github.repository }}
+ retain_days: 7
+ keep_minimum_runs: 6
diff --git a/README.md b/README.md
index 11265ea..ec06821 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,142 @@
-# Orion-Boostrap
\ No newline at end of file
+
+
+
+