Skip to content

chore / CLOUD-25588 / add headers to code files #1

chore / CLOUD-25588 / add headers to code files

chore / CLOUD-25588 / add headers to code files #1

Workflow file for this run

# Action to label pull requests based on the pre commit config that can be found here:
# 🪛 https://github.com/hivemq/ui-library/blob/main/.pre-commit-config.yaml
# ---
# This action is a prerequisite to allow us to use release-drafter
# https://github.com/release-drafter/release-drafter
name: 🛠️ Pull Request Management
on:
pull_request:
types: [assigned, opened, reopened, edited, synchronize]
permissions:
contents: read
jobs:
run_linter:
name: 🧪 Lint files
runs-on: ubuntu-latest
steps:
- name: 👓 Checkout repository
uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: 📝 Execute linter
run: pnpm lint:check:all
fail_if_pull_request_is_draft:
if: ${{ github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- name: ❌ Fails in order to indicate that pull request needs to be marked as ready to review and tests workflow needs to pass.
run: exit 1
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
with:
GH_NPM_TOKEN: ${{ secrets.GH_NPM_TOKEN }}
- run: pnpm build