Removed the main branch checkout token since cron will only trigger the main branch.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 30s
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 30s
This commit is contained in:
parent
d759767bc3
commit
8e6af2b637
@ -13,15 +13,10 @@ jobs:
|
||||
env:
|
||||
SPECIFIC_BRANCH: chore/update-pre-commit
|
||||
steps:
|
||||
- run: echo "Actor ${{ github.actor }}"
|
||||
- name: check is REPO_TOKEN_SERVER exists
|
||||
env:
|
||||
REPO_TOKEN_SERVER: ${{ secrets.REPO_TOKEN_SERVER }}
|
||||
if: ${{ env.REPO_TOKEN_SERVER == '' }}
|
||||
run: echo the secret "REPO_TOKEN_SERVER" has not been made; echo please go to
|
||||
- name: Check actor
|
||||
run: echo "Actor ${{ github.actor }}"
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
token: ${{ secrets.REPO_TOKEN_SERVER }}
|
||||
- uses: actions/setup-python@v4
|
||||
- run: pip install pre-commit
|
||||
|
Loading…
x
Reference in New Issue
Block a user