summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/format.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index f27678b2e..58fa8fca5 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -18,7 +18,6 @@ jobs:
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- ref: ${{ github.head_ref || github.ref }}
- name: Setup Bun
uses: ./.github/actions/setup-bun
@@ -28,3 +27,5 @@ jobs:
./script/format.ts
env:
CI: true
+ GITHUB_HEAD_REF: ${{ github.head_ref }}
+ GITHUB_REF_NAME: ${{ github.ref_name }}