Skip to content

specify exact permissions for prepare_release_notes #13

specify exact permissions for prepare_release_notes

specify exact permissions for prepare_release_notes #13

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
##############################################################
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true
permissions:
contents: read
##############################################################
jobs:
##############################################################
install_dependencies:
name: Setup
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: echo ${{ github.event.number }} > ./pr-number.txt
##############################################################
lints:
name: "Lints"
runs-on: ubuntu-latest
timeout-minutes: 10
needs: [install_dependencies]
strategy:
matrix:
project:
- "kolay"
- "docs-app"
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm -w --filter ${{ matrix.project }} lint
##############################################################
tests:
name: "Tests"
runs-on: ubuntu-latest
timeout-minutes: 10
needs: [install_dependencies]
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm test
working-directory: docs-app