Skip to content

Skip GH action workflow on changes to md files #116

Skip GH action workflow on changes to md files

Skip GH action workflow on changes to md files #116

Workflow file for this run

name: gofmt
on:
pull_request:
branches:
- main
# Skip CI when changes are made to *.md files
paths-ignore:
- '**.md'
permissions:
contents: read
jobs:
gofmt:
name: gofmt
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- name: gofmt
run : |
gofmt -s -w .
git diff --exit-code