Skip to content

Commit

Permalink
I'm not very good at yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bboonstra committed Oct 19, 2024
1 parent 62b3105 commit e997f60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ on: [push]
jobs:
publish:
runs-on: ubuntu-latest
if: >-
contains(github.event.head_commit.message, '[release]') &&
contains(fromJson(${{ vars.ALLOWED_PUBLISHERS }}), github.actor)
if: (contains(github.event.head_commit.message, '[release]') && contains(fromJson(${{ vars.ALLOWED_PUBLISHERS }}), github.actor))
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down

0 comments on commit e997f60

Please sign in to comment.