Skip to content

Commit

Permalink
[ez] Fix if statement in upload docs (#6254)
Browse files Browse the repository at this point in the history
Brackets in wrong place (?)
The if statement always evaluated to true?

Not sure about the exact semantics but this was tested on a private repo
  • Loading branch information
clee2000 authored Feb 4, 2025
1 parent 3712049 commit 7290f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_upload_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
permissions:
contents: write
runs-on: ubuntu-latest
if: github.repository == ${{ inputs.repository }} && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
if: ${{ github.repository == inputs.repository && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 7290f72

Please sign in to comment.