Skip to content

Commit

Permalink
no bot token
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluscream committed Aug 19, 2024
1 parent 57fb1d4 commit 7f47873
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/lint-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
statuses: write
actions: write
steps:
- name: Create Token
id: create_token
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
# - name: Create Token
# id: create_token
# uses: tibdex/github-app-token@v2.1.0
# with:
# app_id: ${{ secrets.APP_ID }}
# private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout code
continue-on-error: true
uses: actions/checkout@main
with:
fetch-depth: 0
token: ${{ steps.create_token.outputs.token }}
# env:
# GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
# token: ${{ steps.create_token.outputs.token }}
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
- name: Super-linter
continue-on-error: true
uses: super-linter/super-linter@main
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/lint-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ jobs:
statuses: write
actions: write
steps:
- name: Create Token
id: create_token
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
# - name: Create Token
# id: create_token
# uses: tibdex/github-app-token@v2.1.0
# with:
# app_id: ${{ secrets.APP_ID }}
# private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout code
continue-on-error: true
uses: actions/checkout@main
with:
fetch-depth: 0
token: ${{ steps.create_token.outputs.token }}
# env:
# GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
# token: ${{ steps.create_token.outputs.token }}
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
- name: Super-linter
continue-on-error: true
uses: super-linter/super-linter@main
Expand Down

0 comments on commit 7f47873

Please sign in to comment.