Skip to content

Commit

Permalink
fix: deploy condition (#36)
Browse files Browse the repository at this point in the history
there was a typo in the if condition in the test-release job
the correct context is github.event (singular)
  • Loading branch information
abid-mujtaba authored Nov 12, 2023
1 parent fc8080a commit aa58e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
test-release:
if: github.events.commits[0].author.name == 'semantic-release'
if: github.event.commits[0].author.name == 'semantic-release'

runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit aa58e98

Please sign in to comment.