Skip to content

Merge pull request #8 from nationalarchives/TDRSP-15-initiate-metadat… #7

Merge pull request #8 from nationalarchives/TDRSP-15-initiate-metadat…

Merge pull request #8 from nationalarchives/TDRSP-15-initiate-metadat… #7

Workflow file for this run

name: TDR Tag and pre deploy Transfer Service
on:
push:
branches:
- main
jobs:
pre-deploy:

Check failure on line 7 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / TDR Tag and pre deploy Transfer Service

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 7, Col: 3): Error calling workflow 'nationalarchives/tdr-github-actions/.github/workflows/ecs_build.yml@main'. The workflow is requesting 'contents: write, id-token: write', but is only allowed 'contents: read, id-token: none'.

Check failure on line 7 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / TDR Tag and pre deploy Transfer Service

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 7, Col: 3): Error calling workflow 'nationalarchives/tdr-github-actions/.github/workflows/ecs_build.yml@main'. The workflow is requesting 'contents: write, id-token: write', but is only allowed 'contents: read, id-token: none'.
uses: nationalarchives/tdr-github-actions/.github/workflows/ecs_build.yml@main
with:
java-version: '17'
repo-name: tdr-transfer-service
image-name: transfer-service
build-command: |
sbt assembly
secrets:
MANAGEMENT_ACCOUNT: ${{ secrets.MANAGEMENT_ACCOUNT }}
WORKFLOW_PAT: ${{ secrets.WORKFLOW_PAT }}
deploy:
needs: pre-deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: gh workflow run deploy.yml -f environment=intg -f to-deploy=${{ needs.pre-deploy.outputs.next-version }}
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_PAT }}