Skip to content

Commit

Permalink
cli authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-sorrentino committed Aug 31, 2024
1 parent a7a6857 commit 632e7f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bypass-css-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Check for CSS files
run: |
if git diff --name-only ${{ github.base_ref }} ${{ github.head_ref }} | grep -q '\.css$'; then
if git diff --name-only main ${{ github.head_ref }} | grep -q '\.css$'; then
echo "CSS files detected and user is an admin, bypassing review requirement"
gh pr merge ${{ github.event.pull_request.number }} --auto --squash
else
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bypass-version-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Check for hushline/version.py
run: |
if git diff --name-only ${{ github.base_ref }} ${{ github.head_ref }} | grep -q '^hushline/version.py$'; then
if git diff --name-only main ${{ github.head_ref }} | grep -q '^hushline/version.py$'; then
echo "hushline/version.py detected and user is an admin, bypassing review requirement"
gh pr merge ${{ github.event.pull_request.number }} --auto --squash
else
Expand Down

0 comments on commit 632e7f9

Please sign in to comment.