Skip to content

chore(ci): update verify workflow to use dcm for analysis #406

chore(ci): update verify workflow to use dcm for analysis

chore(ci): update verify workflow to use dcm for analysis #406

Workflow file for this run

name: pull_requests
on:
pull_request:
branches: [main]
permissions:
contents: read
pull-requests: write
jobs:
branch-name:
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- name: 🔀 Assert Branch Naming Convention
uses: lekterable/[email protected]
with:
errorMessage: 'Branch name should only contain latin characters, numbers and those symbols: ".", "/", "-", "_" and must start with: `feature/`, `feat/`, `test/`, `tests/`, `fix/`, `bug/`, `chore/`, `deps/`, `ci/`, `build/`, `docs/`, `doc/`, `style/` or `refactor/`.'
allowed: /(feature|feat|test|tests|fix|bug|chore|dependabot|deps|ci|build|docs|doc|style|refactor)\/([a-zA-Z0-9_.\/-]*)/
assign:
runs-on: ubuntu-latest
timeout-minutes: 4
if: ${{ github.event.pull_request.assignee == null && join(github.event.pull_request.assignees) == '' }}
steps:
- name: ✍🏻 Add Reviewer and Author Assign
uses: kentaro-m/[email protected]
with:
configuration-path: '.github/workflows/config/auto-assign.yaml'
pr-title:
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- name: 📰 Lint Pull Request Title
uses: amannn/[email protected]
with:
requireScope: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
auto-approve:
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- name: 🎟️ Approve Dependabot and owner
uses: hmarr/[email protected]
if: github.actor == 'dependabot[bot]' || github.actor == 'tsinis'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-labels:
runs-on: ubuntu-latest
needs: branch-name
timeout-minutes: 4
steps:
- name: 🏷️ Detect and add label(s)
uses: TimonVS/[email protected]
with:
configuration-path: .github/workflows/config/pr-labels.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}