From 33e4a24dd640258912fb9827b40923f0afde87c3 Mon Sep 17 00:00:00 2001 From: wtetsu Date: Sat, 18 Jan 2025 14:05:22 +0900 Subject: [PATCH] Minor polishing --- .github/workflows/build.yml | 4 ++++ .github/workflows/license.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ .github/workflows/test.yml | 4 ++++ go.mod | 2 +- 5 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4398878..ed051b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,9 @@ name: Build +permissions: + contents: read + pull-requests: write + on: [push, pull_request] jobs: diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index 44d1cfa..8840adb 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -1,5 +1,9 @@ name: License +permissions: + contents: read + pull-requests: write + on: push: tags: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 537551d..728cb81 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,9 @@ name: Release +permissions: + contents: read + pull-requests: write + on: push: tags: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e27cd98..55419e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,9 @@ name: Test +permissions: + contents: read + pull-requests: write + on: [push, pull_request] jobs: diff --git a/go.mod b/go.mod index 2f48bc6..5ce3749 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/wtetsu/gaze -go 1.23 +go 1.23.4 require ( github.com/bmatcuk/doublestar v1.3.4