Skip to content

chore(deps): pin trusted workflows based on HashiCorp TSCCR #3342

chore(deps): pin trusted workflows based on HashiCorp TSCCR

chore(deps): pin trusted workflows based on HashiCorp TSCCR #3342

Workflow file for this run

name: Linting
on:
merge_group:
types: [checks_requested]
pull_request: {} # All changes need linting
workflow_call:
inputs:
concurrency_group_prefix:
default: pr
required: false
type: string
concurrency:
group: ${{ inputs.concurrency_group_prefix }}-linting-${{ github.head_ref }}
cancel-in-progress: true
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: installing dependencies
run: |
yarn install --frozen-lockfile
- name: run prettier
run: |
yarn lint:prettier
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: installing dependencies
run: |
yarn install --frozen-lockfile
- name: run workspace linting
run: |
yarn lint:workspace