diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 67c4eb7..15abf24 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -16,6 +16,8 @@ on: jobs: create-release: runs-on: ubuntu-latest + permissions: + contents: write outputs: new_version: ${{ steps.new-version.outputs.new_version }} branch_name: ${{ steps.new-version.outputs.branch_name }} @@ -136,6 +138,8 @@ jobs: needs: [create-release, create-tag] if: always() runs-on: ubuntu-latest + permissions: + contents: read steps: - name: Create summary run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0fa137c..c100817 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,8 @@ on: jobs: test: runs-on: ubuntu-latest + permissions: + contents: read timeout-minutes: 5 steps: - name: Checkout