pull-request-lint/.gitea/workflows/pr.yml
Jan Klattenhoff 142ef2e8f8
Some checks failed
Test Go Action / use-go-action (push) Failing after 4s
Lint Pull Request / Lint Pr Title (pull_request) Failing after 9s
ci: add always condition to lint action steps
2025-04-09 17:53:47 +02:00

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