Skip to content

Commit

Permalink
Add new action to manually run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-friedberger committed Sep 4, 2024
1 parent 790a5a5 commit e34d2f1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/psltool-fmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: psltool-fmt

on:
workflow_dispatch:

jobs:
validate:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "stable"
- name: run validations
run: |
cd tools
go run ./psltool fmt ../public_suffix_list.dat
- name: create PR
uses: peter-evans/create-pull-request@v7
with:
commit-message: Automatic formatting using `psltool fmt`
branch: psltool-fmt

0 comments on commit e34d2f1

Please sign in to comment.