File tree 4 files changed +10
-6
lines changed
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 35
35
- name : Setup yq
36
36
run : sudo snap install yq
37
37
- name : Run pre-conditions
38
- run : test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" pre.ci )" || true
38
+ run : test -f .github/actions.yml && eval "$(yq e '.pre.ci // "true"' .github/actions.yml )" || true
39
39
- name : Run scalafmt on Scala Steward PRs
40
40
if : github.event.pull_request.user.login == '47erbot' && contains(github.event.pull_request.body, 'Scala Steward')
41
41
run : sbt "scalafixEnable; fix" || sbt "scalafmtAll; scalafmtSbt" || true
48
48
env :
49
49
GITHUB_TOKEN : ${{ secrets.ADMIN_GITHUB_TOKEN }}
50
50
- name : Run post-conditions
51
- run : test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" post.ci )" || true
51
+ run : test -f .github/actions.yml && eval "$(yq e '.post.ci // "true"' .github/actions.yml )" || true
52
52
- name : Automerge Scala Steward PRs
53
53
if : success() && github.event_name == 'pull_request' && contains(github.event.pull_request.body, 'Scala Steward')
54
54
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ jobs:
31
31
- name : Setup yq
32
32
run : sudo snap install yq
33
33
- name : Run pre-conditions
34
- run : test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" pre.docs )" || true
34
+ run : test -f .github/actions.yml && eval "$(yq e '.pre.docs // "true"' .github/actions.yml )" || true
35
35
- name : Generate documentation
36
36
run : sbt ci-docs
37
37
env :
38
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
39
DOWNLOAD_INFO_FROM_GITHUB : true
40
40
- name : Run post-conditions
41
- run : test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" post.docs )" || true
41
+ run : test -f .github/actions.yml && eval "$(yq e '.post.docs // "true"' .github/actions.yml )" || true
42
42
- name : Generate changelog
43
43
env :
44
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 30
30
- name : Setup yq
31
31
run : sudo snap install yq
32
32
- name : Run pre-conditions
33
- run : test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" pre.release )" || true
33
+ run : test -f .github/actions.yml && eval "$(yq e '.pre.release // "true"' .github/actions.yml )" || true
34
34
- name : Release new version
35
35
run : sbt ci-publish
36
36
env :
40
40
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
41
41
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
42
42
- name : Run post-conditions
43
- run : test -f .github/actions.yml && eval "$(yq r .github/actions.yml -D "true" post.release )" || true
43
+ run : test -f .github/actions.yml && eval "$(yq e '.post.release // "true"' .github/actions.yml )" || true
Original file line number Diff line number Diff line change 69
69
! .vscode /tasks.json
70
70
! .vscode /launch.json
71
71
! .vscode /extensions.json
72
+
73
+ # Direnv
74
+
75
+ .direnv
You can’t perform that action at this time.
0 commit comments