Skip to content

Commit

Permalink
ci(workflows): [ci] refactor metadata job conditional
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Jan 29, 2023
1 parent 168d694 commit 723929f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ concurrency:
jobs:
metadata:
if: |
github.event_name == 'pull_request'
|| github.event_name == 'workflow_dispatch'
|| github.event.head_commit.author.name != 'dependabot[bot]'
|| github.event.head_commit.author.name != 'flexdevelopment'
|| !startsWith(github.event.head_commit.message, 'release:')
github.event.head_commit.author.name != 'dependabot[bot]'
&& github.event.head_commit.author.username != 'flexdevelopment'
&& !startsWith(github.event.head_commit.message, 'release:')
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.result }}
Expand Down

0 comments on commit 723929f

Please sign in to comment.