From c4349caa964b2c8961dc9fe1497798f48b5b9bb5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 26 Dec 2022 18:22:03 -0500 Subject: [PATCH 1/3] Configure Renovate (#74) * Add renovate.json * Add config:semverAllMonthly Co-authored-by: Miguel Nieto A <39246879+miguelnietoa@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..986bd3d --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:semverAllMonthly" + ] +} From 4c1d3ffc15097c155a2c789152b7ef877c74d435 Mon Sep 17 00:00:00 2001 From: Miguel Nieto A <39246879+miguelnietoa@users.noreply.github.com> Date: Tue, 27 Dec 2022 09:13:24 -0500 Subject: [PATCH 2/3] Add default permissions as read-only (#75) * Add default permissions as read-only Setting this will increase the openssf score. * Fix build badge --- .github/workflows/ci.yml | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fa7aae..144d25e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: - 'v*.[0-9]' pull_request: +permissions: + contents: read + jobs: tests: name: Run tests diff --git a/README.md b/README.md index 27c2866..2be8d31 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Elixir XDR -![Build Badge](https://img.shields.io/github/actions/workflow/status/kommitters/elixir_xdr/CI.yml?branch=main&style=for-the-badge) +![Build Badge](https://img.shields.io/github/actions/workflow/status/kommitters/elixir_xdr/ci.yml?branch=main&style=for-the-badge) [![Coverage Status](https://img.shields.io/coveralls/github/kommitters/elixir_xdr?style=for-the-badge)](https://coveralls.io/github/kommitters/elixir_xdr) [![Version Badge](https://img.shields.io/hexpm/v/elixir_xdr?style=for-the-badge)](https://hexdocs.pm/elixir_xdr) ![Downloads Badge](https://img.shields.io/hexpm/dt/elixir_xdr?style=for-the-badge) From e4c87a29c4f8c726437b7b01af5819f764a6d8ce Mon Sep 17 00:00:00 2001 From: Miguel Nieto A <39246879+miguelnietoa@users.noreply.github.com> Date: Tue, 27 Dec 2022 09:39:05 -0500 Subject: [PATCH 3/3] Prepare release v0.3.8 (#76) --- CHANGELOG.md | 4 ++++ README.md | 2 +- mix.exs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14c869a..0009211 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.3.8 (27.12.2022) +* Add Renovate as dependency update tool. +* Add default permissions as read-only in the CI workflow. + ## 0.3.7 (23.12.2022) * Harden GitHub Actions. diff --git a/README.md b/README.md index 2be8d31..e74308c 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ XDR is an open data format, specified in [RFC 4506](http://tools.ietf.org/html/r ```elixir def deps do [ - {:elixir_xdr, "~> 0.3.7"} + {:elixir_xdr, "~> 0.3.8"} ] end ``` diff --git a/mix.exs b/mix.exs index aeeac3b..86b8875 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule XDR.MixProject do use Mix.Project @github_url "https://github.com/kommitters/elixir_xdr" - @version "0.3.7" + @version "0.3.8" def project do [