Skip to content

Commit

Permalink
Update lint-changed.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluscream authored Aug 26, 2024
1 parent 04eff4e commit 9eeb5e1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/lint-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,19 @@ jobs:
actions: write
steps:
- name: Create Token
if: github.event_name != 'pull_request'
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
ref: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
token: ${{ steps.create_token.outputs.token }}
# env:
# GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
token: ${{ steps.create_token.outputs.token || secrets.WORKFLOW_TOKEN }}
- name: Super-linter
continue-on-error: true
uses: super-linter/super-linter@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -90,7 +87,6 @@ jobs:
FIX_YAML_PRETTIER: true

- name: Push fixed
continue-on-error: true
uses: stefanzweifel/git-auto-commit-action@master
with:
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
Expand Down

0 comments on commit 9eeb5e1

Please sign in to comment.