Skip to content

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

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

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

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
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: installing dependencies
run: |
yarn install --frozen-lockfile
- name: run prettier
run: |
yarn lint:prettier
lint:
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: installing dependencies
run: |
yarn install --frozen-lockfile
- name: run workspace linting
run: |
yarn lint:workspace