Skip to content

Commit

Permalink
ci: fix workflows (#369)
Browse files Browse the repository at this point in the history
* remove unused dockerfile

* update

* Trigger CI

* fix

* fix lint

* remove unused scripts

* fix lint

* fix lint

* restructure

* update readme
  • Loading branch information
mircea-pavel-anton authored Sep 16, 2024
1 parent a5d89a8 commit 43124fc
Show file tree
Hide file tree
Showing 24 changed files with 147 additions and 491 deletions.
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

0 comments on commit 43124fc

Please sign in to comment.