Skip to content

Streamline github actions #1

Streamline github actions

Streamline github actions #1

Workflow file for this run

name: Overall CI
# targeting pull requests to master branch
on:
workflow_call:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
frontend_ci:

Check failure on line 10 in .github/workflows/Overall_CI.yml

View workflow run for this annotation

GitHub Actions / Overall CI

Invalid workflow file

The workflow is not valid. .github/workflows/Overall_CI.yml (Line: 10, Col: 5): Error calling workflow 'tryyang2001/CS3213-Frontend-Management-System/.github/workflows/frontend_CI.yml@736d8e3cbb479032ec528182f0e9e665e93a37da'. The nested job 'Frontend_build' is requesting 'checks: write, contents: write, pull-requests: write', but is only allowed 'checks: none, contents: read, pull-requests: none'. .github/workflows/Overall_CI.yml (Line: 10, Col: 5): Error calling workflow 'tryyang2001/CS3213-Frontend-Management-System/.github/workflows/frontend_CI.yml@736d8e3cbb479032ec528182f0e9e665e93a37da'. The nested job 'Frontend_tests' is requesting 'checks: write, contents: write, pull-requests: write', but is only allowed 'checks: none, contents: read, pull-requests: none'.
uses: ./.github/workflows/frontend_CI.yml
backend_ci:
uses: ./.github/workflows/Backend_CI.yml
deploy_production:
name: Deploy Production
needs: [frontend_ci, backend_ci]
if: github.repository == 'CS3213-Frontend-Management-System/master' && github.ref_type == 'tag'
uses: ./.github/workflows/CD_to_AKS.yml