Skip to content

Commit

Permalink
build: Fix Preview GitHub Action
Browse files Browse the repository at this point in the history
Hopefully this will fix #42 (comment)

Signed-off-by: Michael Vorburger <mike@vorburger.ch>
  • Loading branch information
vorburger committed Nov 2, 2023
1 parent 433f483 commit b866378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
runs-on: ubuntu-latest
# Sets permissions of the GITHUB_TOKEN to allow post comment with Preview URL
permissions:
issues: write
pull-requests: write

steps:
- name: Checkout PR head
if: ${{ startsWith(github.event_name, 'pull_request') && github.event.action != 'closed' }}
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0

- name: Build
if: ${{ github.event.action != 'closed' }} # Skipping these steps if the PR has been closed
Expand Down

0 comments on commit b866378

Please sign in to comment.