Skip to content

Commit

Permalink
update startswith
Browse files Browse the repository at this point in the history
  • Loading branch information
chance2021 committed Jan 12, 2025
1 parent cb006e0 commit a06dfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lab23-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ env:
jobs:
# 1. CI for Feature Branch
feature-ci:
if: github.ref_name startsWith('feature/')
if: ${{ github.ref_name && startsWith(github.ref_name, 'refs/heads/feature/') }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit a06dfd9

Please sign in to comment.