Compare commits

..

3 Commits

Author SHA1 Message Date
9ab2fd6077 fix pull 2025-09-25 12:42:28 +00:00
6b832a3eaf Fix description 2025-09-25 12:32:56 +00:00
75b3fe5404 Add HCDC workflow 2025-09-25 12:32:23 +00:00

View File

@ -1,12 +1,8 @@
name: Check for illegal characters
name: Run HCDC
on:
pull_request_target:
pull_request:
types: [opened, reopened, synchronize, edited]
permissions:
contents: read
pull-requests: write
jobs:
run-hcdc:
@ -23,14 +19,6 @@ jobs:
persist-credentials: false
token: ${{ gitea.token }}
- name: Create local branch for PR head (same repo)
if: ${{ gitea.event.pull_request.head.repo.full_name == gitea.repository }}
shell: bash
run: |
set -euo pipefail
git checkout -B "${{ gitea.event.pull_request.head.ref }}" --no-track
git branch --show-current
- name: Checkout PR head (fork via PR ref)
if: ${{ gitea.event.pull_request.head.repo.full_name != gitea.repository }}
uses: https://github.com/actions/checkout@v4
@ -41,14 +29,6 @@ jobs:
persist-credentials: false
token: ${{ gitea.token }}
- name: Create local branch for PR head (fork)
if: ${{ gitea.event.pull_request.head.repo.full_name != gitea.repository }}
shell: bash
run: |
set -euo pipefail
git checkout -B "${{ gitea.event.pull_request.head.ref }}" --no-track
git branch --show-current
- name: Checkout base
uses: https://github.com/actions/checkout@v4
with: