diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60079ea..03b1433 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,8 +6,14 @@ on: branches: [main] workflow_dispatch: +permission: + contents: read + jobs: lint: + permissions: + contents: read + statuses: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/update-main-version.yml b/.github/workflows/update-main-version.yml index 3f1312e..eb4234d 100644 --- a/.github/workflows/update-main-version.yml +++ b/.github/workflows/update-main-version.yml @@ -14,6 +14,9 @@ on: options: - "v1" +permissions: + contents: write + jobs: tag: runs-on: ubuntu-latest