Skip to content

Commit 9d7329e

Browse files
build: fix GitHub gradle actions
1 parent b0aff31 commit 9d7329e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/sphinx.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ on:
44
branches: [ "master" ]
55
pull_request:
66
branches: [ "master" ]
7+
types:
8+
- closed
79

810
permissions: write-all
911
jobs:
1012
docs:
13+
if_merged:
14+
if: github.event.pull_request.merged == true
1115
runs-on: ubuntu-latest
1216
steps:
1317
- uses: actions/setup-python@v4

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ checkstyle {
303303

304304
spotless {
305305
// optional: limit format enforcement to just the files changed by this feature branch
306-
ratchetFrom 'origin/master'
306+
ratchetFrom 'master'
307307

308308
format 'misc', {
309309
// define the files to apply `misc` to

0 commit comments

Comments
 (0)