Skip to content

Merge pull request #8 from brenordv/feature/workflow-template #97

Merge pull request #8 from brenordv/feature/workflow-template

Merge pull request #8 from brenordv/feature/workflow-template #97

name: Data API Function App CI/CD Workflow Using Template
on:
push:
branches:
- master
workflow_dispatch:
jobs:
call-reusable-workflow:

Check failure on line 10 in .github/workflows/master-publish-dataapi.yml

View workflow run for this annotation

GitHub Actions / Data API Function App CI/CD Workflow Using Template

Invalid workflow file

The workflow is not valid. .github/workflows/master-publish-dataapi.yml (Line: 10, Col: 3): Error calling workflow 'brenordv/nightscout-companion-apps/.github/workflows/template-test-build-and-publish-to-azure.yml@725f7cfd67317128c7816789619597487de04b46'. The nested job 'test' is requesting 'contents: write, deployments: write', but is only allowed 'contents: read, deployments: none'. .github/workflows/master-publish-dataapi.yml (Line: 10, Col: 3): Error calling workflow 'brenordv/nightscout-companion-apps/.github/workflows/template-test-build-and-publish-to-azure.yml@725f7cfd67317128c7816789619597487de04b46'. The nested job 'build' is requesting 'contents: write, deployments: write', but is only allowed 'contents: read, deployments: none'.
uses: ./.github/workflows/template-test-build-and-publish-to-azure.yml
with:
dotnetVersion: '6.0.x'
targetPlatform: win-x64
targetRuntime: net6.0
projectFolder: Raccoon.Ninja.AzFn.DataApi
projectFile: Raccoon.Ninja.AzFn.DataApi.csproj
releaseFilePrefix: "AzFnDataApi"
publishToAzure: true
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
azureFunctionAppName: ${{ secrets.AZFN_DATA_API_APP_NAME }}
azurePublishProfile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_241C3F8D024847BCA5768768B873121E }}