Skip to content

Commit

Permalink
ci(docs.yml): re-configure action
Browse files Browse the repository at this point in the history
  • Loading branch information
benjivesterby committed Mar 27, 2023
1 parent e83d3cd commit 1cd1a3b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ name: Update README with Go documentation

on:
push:
branches:
- main
branches: [main]
pull_request:
branches: [main]
permissions:
pull-requests: write
contents: write

jobs:
update-readme:
Expand All @@ -13,12 +17,6 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19

- name: Update readme according to Go doc
uses: posener/goreadme@v1
with:
Expand Down

0 comments on commit 1cd1a3b

Please sign in to comment.