pull-request-lint/.gitea/workflows/pr.yml
Jan Klattenhoff c9fd83e531
Some checks failed
Test Go Action / use-go-action (push) Failing after 4s
Lint Pull Request / Lint Pr Title (pull_request) Failing after 4s
ci: add debugging steps and permission settings to CI
2025-04-09 17:47:32 +02:00

32 lines
859 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 ./
- name: Set execute permissions (Attempt 1 - Relative Path)
run: chmod +x main.go.out
- name: Set execute permissions (Attempt 2 - Absolute Path)
run: chmod +x $(pwd)/main.go.out
- name: Set execute permissions (Attempt 3 - Explicit Path)
run: chmod +x /github/workspace/main.go.out #This is a path commonly used by actions, might work
- name: Run Pull Request Lint Action
uses: https://git.kjan.de/actions/pull-request-lint@main