Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Restrict GH Actions push to master, add author and commits to goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Marttinen <dennis@weave.works>
  • Loading branch information
twelho committed Aug 21, 2020
1 parent 6d913ac commit 1fe533b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Continuous Integration
on: [push, pull_request]

on:
pull_request:
push:
branches: [master]

jobs:
unit-tests:
name: Unit Tests
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# https://github.com/marketplace/actions/run-golangci-lint
name: golangci-lint
on: [push, pull_request]

on:
pull_request:
push:
branches: [master]

jobs:
golangci:
name: Linter
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Generate release notes
run: |
echo 'CHANGELOG' > /tmp/release.txt
github-release-notes -org weaveworks -repo libgitops -since-latest-release >> /tmp/release.txt
github-release-notes -org weaveworks -repo libgitops -since-latest-release -include-author -include-commits >> /tmp/release.txt
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down

0 comments on commit 1fe533b

Please sign in to comment.