Releases: scala-steward-org/scala-steward-action
v2.6.0
What's changed
- Suggest using workflow_dispatch as a manual trigger (#171) @laughedelic
- Update Scala Steward default version to 0.7.0 (#172) @alejandrohdezma
📈 Dependency updates
- [Security] Bump @actions/core from 1.2.5 to 1.2.6 (#170) @dependabot-preview
- Bump ts-jest from 26.3.0 to 26.4.0 (#168) @dependabot-preview
- Bump eslint-plugin-jest from 24.0.1 to 24.0.2 (#167) @dependabot-preview
- Bump typescript from 4.0.2 to 4.0.3 (#165) @dependabot-preview
- Bump @types/jest from 26.0.13 to 26.0.14 (#164) @dependabot-preview
- Bump prettier from 2.1.1 to 2.1.2 (#166) @dependabot-preview
- Bump @types/node from 14.10.1 to 14.11.1 (#163) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.4.0 to 30.5.1 (#162) @dependabot-preview
- Bump @types/node from 14.6.4 to 14.10.1 (#161) @dependabot-preview
- Bump eslint-plugin-jest from 24.0.0 to 24.0.1 (#160) @dependabot-preview
- [Security] Bump node-fetch from 2.6.0 to 2.6.1 (#159) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.3.3 to 30.4.0 (#158) @dependabot-preview
- Bump eslint-plugin-jest from 23.20.0 to 24.0.0 (#156) @dependabot-preview
- Bump @types/node from 14.6.2 to 14.6.4 (#155) @dependabot-preview
- Bump typescript from 3.9.7 to 4.0.2 (#157) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.3.0 to 30.3.3 (#154) @dependabot-preview
- Bump @types/jest from 26.0.10 to 26.0.13 (#153) @dependabot-preview
Contributors to this release
v2.5.0
🚀 Features
- fix Crashing when called getAuthUser was failed (#149) @ryota0624
- feature cache ttl option (#151) @ryota0624
📘 Documentation
- Fix multiple repositories example (#150) @NomadBlacky
- Specify JVM version instructions (#68) @tovbinm
📈 Dependency updates
- Bump prettier from 2.1.0 to 2.1.1 (#148) @dependabot-preview
- Bump @types/node from 14.6.0 to 14.6.2 (#147) @dependabot-preview
- Bump @actions/core from 1.2.4 to 1.2.5 (#146) @dependabot-preview
- Bump ts-jest from 26.2.0 to 26.3.0 (#145) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.2.4 to 30.3.0 (#144) @dependabot-preview
- Bump jest from 26.4.0 to 26.4.2 (#142) @dependabot-preview
- Bump prettier from 2.0.5 to 2.1.0 (#143) @dependabot-preview
- Bump jest-circus from 26.4.0 to 26.4.2 (#141) @dependabot-preview
- Bump @types/node from 14.0.27 to 14.6.0 (#140) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.2.3 to 30.2.4 (#139) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.2.2 to 30.2.3 (#138) @dependabot-preview
- Bump @types/jest from 26.0.9 to 26.0.10 (#137) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.2.1 to 30.2.2 (#136) @dependabot-preview
- Bump jest from 26.3.0 to 26.4.0 (#135) @dependabot-preview
- Bump jest-circus from 26.3.0 to 26.4.0 (#134) @dependabot-preview
- Bump ts-jest from 26.1.4 to 26.2.0 (#133) @dependabot-preview
- Bump jest from 26.2.2 to 26.3.0 (#132) @dependabot-preview
- Bump jest-circus from 26.2.2 to 26.3.0 (#131) @dependabot-preview
- Bump jssha from 3.1.1 to 3.1.2 (#130) @dependabot-preview
- Bump @actions/cache from 1.0.1 to 1.0.2 (#129) @dependabot-preview
- Bump @types/jest from 26.0.8 to 26.0.9 (#128) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.2.0 to 30.2.1 (#127) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.1.0 to 30.2.0 (#126) @dependabot-preview
- Bump jest from 26.2.1 to 26.2.2 (#125) @dependabot-preview
- Bump jest-circus from 26.2.1 to 26.2.2 (#124) @dependabot-preview
- Bump eslint-plugin-jest from 23.19.0 to 23.20.0 (#123) @dependabot-preview
- Bump jest from 26.1.0 to 26.2.1 (#121) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.0.3 to 30.1.0 (#122) @dependabot-preview
- Bump @types/jest from 26.0.7 to 26.0.8 (#120) @dependabot-preview
- Bump jest-circus from 26.1.0 to 26.2.1 (#119) @dependabot-preview
- Bump @types/node from 14.0.26 to 14.0.27 (#118) @dependabot-preview
- Bump ts-jest from 26.1.3 to 26.1.4 (#117) @dependabot-preview
- Bump eslint-plugin-jest from 23.18.2 to 23.19.0 (#116) @dependabot-preview
- Bump @types/node from 14.0.25 to 14.0.26 (#115) @dependabot-preview
- Bump eslint-plugin-jest from 23.18.0 to 23.18.2 (#114) @dependabot-preview
- Bump @types/node from 14.0.24 to 14.0.25 (#113) @dependabot-preview
- Bump @types/jest from 26.0.5 to 26.0.7 (#112) @dependabot-preview
- Bump jssha from 3.1.0 to 3.1.1 (#111) @dependabot-preview
- Bump @actions/cache from 1.0.0 to 1.0.1 (#110) @dependabot-preview
- Bump eslint-plugin-github from 4.1.0 to 4.1.1 (#109) @dependabot-preview
- Bump eslint-plugin-jsdoc from 30.0.0 to 30.0.3 (#108) @dependabot-preview
- Bump @types/node from 14.0.23 to 14.0.24 (#107) @dependabot-preview
- Bump @types/jest from 26.0.4 to 26.0.5 (#106) @dependabot-preview
- Bump eslint-plugin-jsdoc from 29.2.0 to 30.0.0 (#105) @dependabot-preview
- Bump @actions/tool-cache from 1.5.5 to 1.6.0 (#103) @dependabot-preview
- Bump eslint-plugin-github from 4.0.1 to 4.1.0 (#102) @dependabot-preview
- Bump ts-jest from 26.1.2 to 26.1.3 (#101) @dependabot-preview
- Bump typescript from 3.9.6 to 3.9.7 (#100) @dependabot-preview
- Bump @actions/cache from 0.2.1 to 1.0.0 (#99) @dependabot-preview
- [Security] Bump lodash from 4.17.15 to 4.17.19 (#98) @dependabot-preview
- Bump ts-jest from 26.1.1 to 26.1.2 (#97) @dependabot-preview
- Bump @types/node from 14.0.22 to 14.0.23 (#96) @dependabot-preview
- Bump eslint-plugin-jsdoc from 29.1.4 to 29.2.0 (#95) @dependabot-preview
- Bump eslint-plugin-jsdoc from 29.1.3 to 29.1.4 (#94) @dependabot-preview
- Bump @types/node from 14.0.20 to 14.0.22 (#93) @dependabot-preview
- Bump eslint-plugin-jsdoc from 29.1.2 to 29.1.3 (#92) @dependabot-preview
- Bump @types/node from 14.0.19 to 14.0.20 (#91) @dependabot-preview
- Bump eslint-plugin-jsdoc from 29.1.0 to 29.1.2 (#90) @dependabot-preview
- Bump eslint-plugin-jsdoc from 28.6.1 to 29.1.0 (#89) @dependabot-preview
- Bump @types/node from 14.0.18 to 14.0.19 (#88) @dependabot-preview
- Bump eslint-plugin-jest from 23.17.1 to 23.18.0 (#85) @dependabot-preview
- Bump eslint-plugin-jsdoc from 28.6.0 to 28.6.1 (#84) @dependabot-preview
- Bump typescript from 3.9.5 to 3.9.6 (#83) @dependabot-preview
- Bump eslint-plugin-jsdoc from 28.5.1 to 28.6.0 (#82) @dependabot-preview
- Bump @actions/github from 3.0.0 to 4.0.0 (#81) @dependabot-preview
- Bump @types/jest from 26.0.0 to 26.0.3 (#80) @dependabot-preview
- Bump @types/node from 14.0.13 to 14.0.14 (#79) @dependabot-preview
- Bump jest from 26.0.1 to 26.1.0 (#77) @dependabot-preview
- Bump eslint-plugin-jsdoc from 28.5.0 to 28.5.1 (#78) @dependabot-preview
- Bump eslint-plugin-jest from 23.16.0 to 23.17.1 (#76) @dependabot-preview
- Bump jest-circus from 26.0.1 to 26.1.0 (#75) @dependabot-preview
- Bump eslint-plugin-jsdoc from 28.0.0 to 28.5.0 (#73) @dependabot-preview
- Bump eslint-plugin-jest from 23.13.2 to 23.16.0 (#72) @dependabot-preview
- Bump ts-jest from 26.1.0 to 26.1.1 (#71) @dependabot-preview
- Bump eslint-plugin-jsdoc from 27.1.2 to 28.0.0 (#70) @dependabot-preview
- Bump eslint-plugin-jsdoc from 27.1.1 to 27.1.2 (#69) @dependabot-preview
- Bump eslint-plugin-jsdoc from 27.0.7 to 27.1.1 (#67) @dependabot-preview
- Bump eslint-plugin-jsdoc from 27.0.6 to 27.0.7 (#66) @dependabot-preview
- Bump eslint-plugin-jsdoc from 27.0.5 to 27.0.6 (#65) @dependabot-preview
- Bump @types/node from 14.0.12 to 14.0.13 (#64) @dependabot-preview
- Bump @types/jest from 25.2.3 to 26.0.0 (#63) @dependabot-preview
Contributors to this release
v2.4.0
What's changed
🚀 Features
- Save/restore Scala Steward workspace to/from cache (#59) @alejandrohdezma
📈 Dependency updates
- Bump eslint-plugin-jsdoc from 27.0.4 to 27.0.5 (#61) @dependabot-preview
- Bump @types/node from 14.0.11 to 14.0.12 (#60) @dependabot-preview
Contributors to this release
v2.3.0
What's changed
- Update Scala Steward version to latest release (#58) @alejandrohdezma
- Add
post
step to cleanup files created by the action (#57) @alejandrohdezma - Use
ES2019
for Typescript compilation & change name of compiled file (#56) @alejandrohdezma
📈 Dependency updates
- Bump @actions/github from 2.2.0 to 3.0.0 (#51) @dependabot-preview
- Bump typescript from 3.9.3 to 3.9.5 (#53) @dependabot-preview
- Bump @types/node from 14.0.10 to 14.0.11 (#54) @dependabot-preview
- Bump eslint-plugin-jsdoc from 27.0.3 to 27.0.4 (#55) @dependabot-preview
- Bump @types/node from 14.0.9 to 14.0.10 (#50) @dependabot-preview
- Bump eslint-plugin-jsdoc from 27.0.0 to 27.0.3 (#49) @dependabot-preview
- Bump eslint-plugin-jsdoc from 26.0.2 to 27.0.0 (#48) @dependabot-preview
- Bump eslint-plugin-jsdoc from 26.0.1 to 26.0.2 (#47) @dependabot-preview
- Bump @types/node from 14.0.6 to 14.0.9 (#46) @dependabot-preview
Contributors to this release
v2.2.0
What's changed
📈 Dependency updates
- Bump ts-jest from 26.0.0 to 26.1.0 (#45) @dependabot-preview
- Bump @types/node from 14.0.5 to 14.0.6 (#44) @dependabot-preview
- Bump eslint-plugin-jsdoc from 26.0.0 to 26.0.1 (#43) @dependabot-preview
Contributors to this release
v2.1.2
What's changed
- Use os.homedir() instead of /home/runner (#41) @MPV
- Create Scala Steward workspace under home dir instead of
/opt
(#42) @alejandrohdezma
📈 Dependency updates
- Bump eslint-plugin-jsdoc from 25.4.3 to 26.0.0 (#39) @dependabot-preview
- Bump eslint-plugin-github from 4.0.0 to 4.0.1 (#37) @dependabot-preview
- Bump eslint-plugin-jest from 23.13.1 to 23.13.2 (#36) @dependabot-preview
- Bump eslint-plugin-jsdoc from 25.4.2 to 25.4.3 (#35) @dependabot-preview
- Bump eslint-plugin-github from 3.4.1 to 4.0.0 (#33) @dependabot-preview
- Bump @zeit/ncc from 0.22.2 to 0.22.3 (#34) @dependabot-preview
- Bump @types/node from 14.0.4 to 14.0.5 (#31) @dependabot-preview
Contributors to this release
v2.1.1
What's changed
- Fix random error occurring when trying to move Coursier binary (#30) @alejandrohdezma
📈 Dependency updates
- Bump @types/node from 14.0.1 to 14.0.4 (#26) @dependabot-preview
- Bump typescript from 3.9.2 to 3.9.3 (#28) @dependabot-preview
- Bump @actions/tool-cache from 1.3.5 to 1.5.5 (#27) @dependabot-preview
Contributors to this release
v2.1.0
v2.0.0
Included changes
⚠️ Breaking changes
gpg-secret-key
input has been removed.
If you want commits created by Scala Steward to be automatically signed with a GPG key, follow this steps:
-
Generate a new GPG key following Github's own tutorial.
-
Add your new GPG key to your user's Github account following Github's own tutorial.
-
Export the GPG private key as an ASCII armored version to your clipboard (change
[email protected]
with your key email address):# macOS gpg --armor --export-secret-key [email protected] | pbcopy # Ubuntu (assuming GNU base64) gpg --armor --export-secret-key [email protected] -w0 | xclip # Arch gpg --armor --export-secret-key [email protected] | sed -z 's;\n;;g' | xclip -selection clipboard -i # FreeBSD (assuming BSD base64) gpg --armor --export-secret-key [email protected] | xclip
-
Paste your clipboard as a new
GPG_PRIVATE_KEY
repository secret. -
If the key is passphrase protected, add the passphrase as another repository secret called
GPG_PASSPHRASE
. -
Import it to the workflow using an action such us crazy-max/ghaction-import-gpg:
- name: Import GPG key uses: crazy-max/ghaction-import-gpg@v2 with: git_user_signingkey: true env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
-
Tell Scala Steward to sign commits using the
sign-commits
input:- name: Launch Scala Steward uses: scala-steward-org/scala-steward-action@v2 with: github-token: ${{ secrets.ADMIN_GITHUB_TOKEN }} sign-commits: true
New inputs
The following inputs have been added to the action:
Input | Allowed values | Description |
---|---|---|
repos-file |
File paths | Path to a file containing the list of repositories to update in markdown format (- owner/repo) |
scala-steward-version |
Valid Scala Steward's version | Scala Steward version to use |
ignore-opts-files |
true | false | Whether to ignore "opts" files (such as .jvmopts or .sbtopts ) when found on repositories or not |
sign-commits |
true | false | Whether to sign commits or not |
v1.0.0
When added, this action will launch Scala Steward on your own repository and create PRs to update your Scala dependencies using your own user:
Usage
Create a new .github/workflows/scala-steward.yml
file:
# This workflow will launch at 00:00 every Sunday
on:
schedule:
- cron: '0 0 * * 0'
jobs:
scala-steward:
runs-on: ubuntu-latest
name: Launch Scala Steward
steps:
- name: Launch Scala Steward
uses: alejandrohdezma/scala-steward-action@v1
with:
github-repository: owner/repo
github-token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
gpg-secret-key: ${{ secrets.GPG_SCALA_STEWARD }}