Skip to content

Commit fb9cc04

Browse files
authored
Move debian to trixie (#1630)
* chore: update Dockerfile and debian.yaml to use Debian Trixie version * chore: update Dockerfile to use Debian Trixie version 20250929 * chore: enhance GitHub Actions workflow to check for forked PRs
1 parent 5e1e1ee commit fb9cc04

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/github-docker-registry-push.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ jobs:
2222
steps:
2323
- name: Check if PR is from a fork
2424
# This step checks if the pull request is from a fork
25-
run: echo "IS_FORK=$(if [ '${{ github.event.pull_request.head.repo.full_name }}' != '${{ github.repository }}' ]; then echo 'true'; else echo 'false'; fi)" >> $GITHUB_ENV
25+
run: |
26+
if [ "${{ github.event_name }}" = "pull_request" ]; then
27+
if [ '${{ github.event.pull_request.head.repo.full_name }}' != '${{ github.repository }}' ]; then
28+
echo "IS_FORK=true" >> $GITHUB_ENV
29+
else
30+
echo "IS_FORK=false" >> $GITHUB_ENV
31+
fi
32+
else
33+
echo "IS_FORK=false" >> $GITHUB_ENV
34+
fi
2635
2736
- name: Checkout
2837
# This step checks out the repository

0 commit comments

Comments
 (0)