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 <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Jan 29, 2023
1 parent 8ed30ec commit 4f7f6b9
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 @@ -43,11 +43,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 4f7f6b9

Please sign in to comment.