From 9e985e31839fe65fa4d5432e2aa9a8bcf497138f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 03:35:28 +0000 Subject: [PATCH 1/2] Bump actions/setup-go from 2 to 3 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e692076..7cbd78d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go }} id: go @@ -86,7 +86,7 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: '1.17.x' id: go From 3da351871f97298081e359e2ccca10a8d6e840d3 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Thu, 14 Apr 2022 02:21:38 +0300 Subject: [PATCH 2/2] Improve workflows --- .github/workflows/ci.yml | 5 +++++ .github/workflows/codeql.yml | 9 +++++++-- badge.go | 2 +- badge_test.go | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cbd78d..eee3bac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,11 @@ on: pull_request: branches: [master] +permissions: + actions: read + contents: read + statuses: write + jobs: Go: name: Go diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3444662..0fa9f18 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -6,7 +6,12 @@ on: pull_request: branches: [master] schedule: - - cron: '0 17 * * 1,3,5' + - cron: '0 3 * * */2' + +permissions: + security-events: write + actions: read + contents: read jobs: analyse: @@ -15,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 diff --git a/badge.go b/badge.go index 4f5c0cf..d26d6a6 100644 --- a/badge.go +++ b/badge.go @@ -3,7 +3,7 @@ package badge // ////////////////////////////////////////////////////////////////////////////////// // // // -// Copyright (c) 2021 ESSENTIAL KAOS // +// Copyright (c) 2022 ESSENTIAL KAOS // // Apache License, Version 2.0 // // // // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/badge_test.go b/badge_test.go index d510b04..0ea1945 100644 --- a/badge_test.go +++ b/badge_test.go @@ -2,7 +2,7 @@ package badge // ////////////////////////////////////////////////////////////////////////////////// // // // -// Copyright (c) 2021 ESSENTIAL KAOS // +// Copyright (c) 2022 ESSENTIAL KAOS // // Apache License, Version 2.0 // // // // ////////////////////////////////////////////////////////////////////////////////// //