28 lines
765 B
YAML
28 lines
765 B
YAML
name: "Lint Pull Request"
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint Pr Title
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Install go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.24.2
|
|
|
|
- name: Inspect the Action Directory (Debugging)
|
|
run: |
|
|
echo "Listing files in action directory:"
|
|
ls -l /var/run/act/actions/https---git.kjan.de-actions-pull-request-lint@main/
|
|
|
|
- name: Set execute permissions (Explicit Path)
|
|
if: ${{ always() }}
|
|
run: chmod +x /var/run/act/actions/https---git.kjan.de-actions-pull-request-lint@main/main.go.out
|
|
|
|
- name: Run Pull Request Lint Action
|
|
if: ${{ always() }}
|
|
uses: https://git.kjan.de/actions/pull-request-lint@main
|