Skip to content

Commit

Permalink
chore: check for github.actor instead of commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Aug 20, 2024
1 parent 0dbb195 commit 888fbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-d2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
publish-to-d2-ci:
if: |
${{ !github.event.push.repository.fork }} &&
${{ startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, '[skip release]')) }}
${{ github.actor == 'dhis2-bot' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) }}
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 888fbdb

Please sign in to comment.