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

ci: fix workflows #369

Merged
merged 10 commits into from
Sep 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
13 changes: 13 additions & 0 deletions .commitlintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
# Inherit configuration of a package
include: package:commitlint_cli/commitlint.yaml

# Custom rules
rules:
type-case:
- 2
- always
- "lower-case"

# Whether commitlint uses the default ignore rules.
defaultIgnores: true
148 changes: 0 additions & 148 deletions .devcontainer/Dockerfile

This file was deleted.

13 changes: 0 additions & 13 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

File renamed without changes.
File renamed without changes.
16 changes: 0 additions & 16 deletions .github/renovate.json5

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/devcontainer-release.yaml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/label-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Label Sync

on:
# Manual trigger
workflow_dispatch:
inputs:
dry-run:
description: "Dry Run"
default: true
required: false
type: boolean

# Dry run on pull requests
pull_request:
paths:
- .github/workflows/label-sync.yaml
- .github/labels.yaml

# Run when the configs changed on the main branch
push:
branches: ["main"]
paths:
- .github/workflows/label-sync.yaml
- .github/labels.yaml

# Scheduled daily
schedule:
- cron: "0 0 * * *"

jobs:
label-sync:
uses: mirceanton/reusable-workflows/.github/workflows/[email protected]
secrets: inherit
with:
dry-run: ${{ inputs.dry-run || github.event_name == 'pull_request' }}
config-file: .github/labels.yaml
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Labeler

on:
# When a pull request is opened, reopened, or synchronized
pull_request_target: {}

jobs:
pr-labeler:
uses: mirceanton/reusable-workflows/.github/workflows/[email protected]
secrets: inherit
with:
config-file: .github/labeler.yaml
Loading
Loading