Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
drmatthews authored Feb 6, 2025
0 parents commit d1a09c1
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: links

on:
push:
branches:
- main
- renovate/**
pull_request:

jobs:
links:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Check links
uses: UCL-MIRSG/.github/actions/links@a7534b4183ae58f24714fe8633c4433365131257 # v0
with:
app-id: ${{ vars.LINKS_APP_ID }}
app-pem: ${{ secrets.LINKS_PRIVATE_KEY }}
28 changes: 28 additions & 0 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Linting

on:
push:
branches:
- main
- renovate/**
pull_request:
types:
- opened
- ready_for_review
- reopened
- synchronize

concurrency:
cancel-in-progress: true
group: >-
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
jobs:
linting:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: UCL-MIRSG/.github/actions/linting@28758d17f7fe68723aded1c5dc6a3f57ccdf9cb7 # v0
with:
pre-commit-config: ./.pre-commit-config.yaml
16 changes: 16 additions & 0 deletions .github/workflows/manage-projects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Manage issues on the projects board

on:
issues:
types:
- opened

jobs:
add-issue-to-project:
runs-on: ubuntu-latest
steps:
- uses: UCL-MIRSG/.github/actions/add-to-project@28758d17f7fe68723aded1c5dc6a3f57ccdf9cb7 # v0
with:
app-id: ${{ secrets.APP_ID }}
app-pem: ${{ secrets.APP_PEM }}
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
repos:
- repo: https://github.com/UCL-MIRSG/.github
rev: v0.182.0
hooks:
- id: mirsg-hooks
4 changes: 4 additions & 0 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["github>UCL-MIRSG/.github//renovate/default-config.json5"],
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# mirsg-template

A template for general MIRSG repositories

0 comments on commit d1a09c1

Please sign in to comment.