summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/goreadme.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/goreadme.yml b/.github/workflows/goreadme.yml
new file mode 100644
index 0000000..0af0519
--- /dev/null
+++ b/.github/workflows/goreadme.yml
@@ -0,0 +1,19 @@
+on:
+ pull_request:
+ branches: [master, v1]
+ push:
+ branches: [master, v1]
+jobs:
+ goreadme:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out repository
+ uses: actions/checkout@v2
+ - name: Update readme according to Go doc
+ uses: posener/[email protected]
+ with:
+ recursive: 'true'
+ badge-travisci: 'true'
+ badge-codecov: 'true'
+ badge-goreadme: 'true'
+ github-token: '${{ secrets.GITHUB_TOKEN }}'