Unverified Commit 71744590 authored by Licho's avatar Licho

fix: env.token

Signed-off-by: 's avatarLicho <chinabhsun@gmail.com>
parent e24eefc4
......@@ -15,7 +15,7 @@ jobs:
format:
env:
repo_token: ${{ secrets.TOKEN }}
if: github.repository != 'DataLinkDC/dinky' and ${{ repo_token }}
if: github.repository != 'DataLinkDC/dinky' and ${{ env.repo_token }}
name: Format and Check Code
runs-on: ubuntu-latest
steps:
......@@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
token: ${{ repo_token }}
token: ${{ env.repo_token }}
- name: Run spotless apply
run : ./mvnw -T 4C -B --no-snapshot-updates clean spotless:apply -P flink-all
- name: Check for modified files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment