mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
CI: fix running on PRs
(for real this time...)
This commit is contained in:
parent
a0cdc0e663
commit
fd127508db
4
.github/workflows/harness.yml
vendored
4
.github/workflows/harness.yml
vendored
@ -142,7 +142,7 @@ jobs:
|
||||
binaries:
|
||||
name: Build static binaries
|
||||
runs-on: self-hosted
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
if: ${{ github.event_name != 'pull_request_target' }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
@ -166,7 +166,7 @@ jobs:
|
||||
name: Publish static content to github-pages
|
||||
needs: [ examples, binaries, tests ]
|
||||
# Doesn't really depend on tests, but we don't want to publish if they fail
|
||||
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/master' }}
|
||||
if: ${{ github.event_name != 'pull_request_target' && github.ref == 'refs/heads/master' }}
|
||||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
||||
permissions:
|
||||
contents: read
|
||||
|
Loading…
Reference in New Issue
Block a user