Change summary
.github/actions/check_style/action.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Detailed changes
@@ -21,8 +21,7 @@ runs:
run: |
cargo install squawk --git https://github.com/sbdchd/squawk --tag v0.26.0
modified_migrations=$(git diff --name-only origin/$GITHUB_BASE_REF...origin/$GITHUB_HEAD_REF 'crate/collab/migrations/*.sql')
-
- SQUAWK_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
+ SQUAWK_GITHUB_TOKEN=${{ github.token }}
SQUAWK_GITHUB_REPO_OWNER=$(echo $GITHUB_REPOSITORY | awk -F/ '{print $1}')
SQUAWK_GITHUB_REPO_NAME=$(echo $GITHUB_REPOSITORY | awk -F/ '{print $2}')
SQUAWK_GITHUB_PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')