Skip to content

Commit

Permalink
ci: ref_protected is a alsdhfj boolean, not a string!
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Oct 4, 2024
1 parent 5e86a5c commit 2b4af6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
- name: if test 1
if: github.ref_type == 'branch'
run: echo "This is a branch"
- name: if test 1
if: github.ref_protected == 'false'
- name: if test 2
if: ${{ ! github.ref_protected }}
run: echo "This branch is not protected"
- name: Commit browserslist db changes on dev branches
if: github.ref_type == 'branch' && github.ref_protected == 'false'
if: ${{ github.ref_type == 'branch' && ! github.ref_protected }}
run: |
if git diff --exit-code package-lock.json; then
echo "The browserslist db is up to date."
Expand Down

0 comments on commit 2b4af6d

Please sign in to comment.