diff --git a/.github/workflows/azure-static-web-apps-agreeable-meadow-0da15b31e.yml b/.github/workflows/azure-static-web-apps-agreeable-meadow-0da15b31e.yml index c08a335f..7bd059bd 100644 --- a/.github/workflows/azure-static-web-apps-agreeable-meadow-0da15b31e.yml +++ b/.github/workflows/azure-static-web-apps-agreeable-meadow-0da15b31e.yml @@ -14,6 +14,9 @@ jobs: if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') runs-on: ubuntu-latest name: Build and Deploy Job + permissions: + contents: read + pull-requests: write steps: - uses: actions/checkout@v3 with: @@ -24,7 +27,7 @@ jobs: uses: Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN}} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for GitHub integrations (i.e. PR comments) + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig @@ -37,6 +40,8 @@ jobs: if: github.event_name == 'pull_request' && github.event.action == 'closed' runs-on: ubuntu-latest name: Close Pull Request Job + permissions: + contents: read steps: - name: Close Pull Request id: closepullrequest