Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Dec 29, 2024
1 parent 90421e8 commit 12cc751
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/duster-fix-blame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
workflow_call:
workflow_dispatch:

# Commits made in here will not trigger any workflows
# Checkout Duster's documentation for a workaround
jobs:
duster:
runs-on: ubuntu-latest
Expand All @@ -15,7 +13,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
# Use `github.ref` for PR refs and `github.head_ref` for normal branches
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}

- name: "Duster Fix"
uses: tighten/duster-action@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
# Use PR head ref for pull requests or ref_name for normal branches
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}
- uses: actions/setup-node@v4
with:
node-version: "20.x"
Expand All @@ -20,4 +21,4 @@ jobs:
commit_message: "style: automated changes to blade files"
commit_user_name: GitHub Action
commit_user_email: [email protected]
branch: ${{ github.head_ref }}
branch: ${{ github.event.pull_request.head.ref || github.ref_name }}

0 comments on commit 12cc751

Please sign in to comment.