File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1010 concurrency :
1111 group : broken-changes-${{ github.ref }}
1212 cancel-in-progress : true
13+ if : (!contains(github.event.pull_request.labels.*.name, 'broken changes'))
1314 runs-on : ubuntu-latest
1415 permissions :
1516 pull-requests : write
2425 - name : Install gorelease
2526 run : test -e ~/go/bin/gorelease || go install golang.org/x/exp/cmd/gorelease@latest
2627 - name : Check broken API changes
27- run : gorelease -base=$GITHUB_BASE_REF 2>&1 > changes.txt | true
28- - name : Print API changes
29- run : cat changes.txt
28+ run : set -o pipefail && gorelease | tee changes.txt
3029 # Skip comment for forks - GITHUB_TOKEN doesn't have write permissions for external PRs
3130 - name : Comment Report
3231 if : always() && github.event.pull_request.head.repo.full_name == github.repository
You can’t perform that action at this time.
0 commit comments