Unverified Commit e24eefc4 authored by Licho's avatar Licho

fix: repo token

Signed-off-by: 's avatarLicho <chinabhsun@gmail.com>
parent 4997160a
......@@ -13,7 +13,9 @@ concurrency:
jobs:
format:
if: github.repository != 'DataLinkDC/dinky'
env:
repo_token: ${{ secrets.TOKEN }}
if: github.repository != 'DataLinkDC/dinky' and ${{ repo_token }}
name: Format and Check Code
runs-on: ubuntu-latest
steps:
......@@ -21,7 +23,7 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
token: ${{ secrets.TOKEN }}
token: ${{ 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