Skip to content

Commit

Permalink
GitHub Actions: Add Auto Pint (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus authored Dec 6, 2024
1 parent ce573d2 commit c0c5441
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 47 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/auto-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Commit

on:
workflow_dispatch:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

permissions: {}

jobs:
pint:
uses: typisttech/.github/.github/workflows/auto-pint.yml@auto-pint
permissions:
contents: write
pull-requests: write
secrets:
pr-write-pat-token: ${{ secrets.PR_WRITE_PAT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
45 changes: 0 additions & 45 deletions .github/workflows/lint.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

permissions:
contents: read # TODO!
permissions: {}

jobs:
pest:
Expand Down

0 comments on commit c0c5441

Please sign in to comment.