Commit b56bb3a2 authored by Bassem Dghaidi's avatar Bassem Dghaidi Committed by GitHub
Browse files

Fix permissions for workflows/workflow.yml

parent 0de23fd4
Loading
Loading
Loading
Loading
+1
Changes for .github/workflows/release-new-action-version.yml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ on:

env:
  TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}

permissions:
  contents: write

+5
Changes for .github/workflows/workflow.yml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -10,6 +10,9 @@ on:
      - main
      - releases/**

permissions:
  contents: read

jobs:
  # Build and unit test
  build:
@@ -57,6 +60,7 @@ jobs:
        path: |
          test-cache
          ~/test-cache

  test-restore:
    needs: test-save
    strategy:
@@ -104,6 +108,7 @@ jobs:
      with:
        key: test-proxy-${{ github.run_id }}
        path: test-cache

  test-proxy-restore:
    needs: test-proxy-save
    runs-on: ubuntu-latest