Skip to content

fix error: TypeError: 'PosixPath' object is not iterable #2

fix error: TypeError: 'PosixPath' object is not iterable

fix error: TypeError: 'PosixPath' object is not iterable #2

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: Lint GitHub Actions workflows
on:
push:
branches:
- "main"
- "release-**"
paths:
- '.github/**'
pull_request:
branches:
- "main"
- "release-**"
paths:
- '.github/**'
defaults:
run:
shell: bash
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.27
- name: Check workflow files
run: PATH=".:$PATH" actionlint -color