Compare commits

..

1 commit

Author SHA1 Message Date
Benoit Donneaux 8bcea717df Try head.repo.fork
Some checks failed
Jekyll / jekyll (pull_request) Failing after 38s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2025-08-19 11:02:10 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ jobs:
jekyll build --verbose jekyll build --verbose
- name: Deploy Jekyll site - name: Deploy Jekyll site
id: deploy_site id: deploy_site
if: ${{ ! forge.head.repo.fork }} if: ${{ ! forge.pull_request.head.repo.fork }}
run: | run: |
echo '${{ toJson(forge) }}' echo '${{ toJson(forge) }}'
if [ "${{ forge.ref }}" = 'refs/heads/main' ]; then if [ "${{ forge.ref }}" = 'refs/heads/main' ]; then

View file

@ -12,7 +12,7 @@ env:
WEB_CONTEXT: "/${{ forge.event.pull_request.number }}/" WEB_CONTEXT: "/${{ forge.event.pull_request.number }}/"
jobs: jobs:
jekyll_cleanup: jekyll_cleanup:
if: ${{ ! forge.head.repo.fork }} if: ${{ ! forge.pull_request.head.repo.fork }}
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
permissions: permissions:
pull-requests: read pull-requests: read