Skip to content

Update spack.yaml

Update spack.yaml #155

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
branches:
- main
- backport/*.*
paths:
- config/**
- spack.yaml
issue_comment:
types:
- created
- edited
jobs:
pr-ci:
name: CI
# This job is responsible for checks and prerelease deployments
# that happen when a PR is modified or opened
if: github.event_name == 'pull_request' && github.event.action != 'closed'
uses: access-nri/build-cd/.github/workflows/ci.yml@main

Check failure on line 25 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 25, Col: 11): Input pr is required, but not provided while calling. .github/workflows/ci.yml (Line: 20, Col: 3): Error calling workflow 'access-nri/build-cd/.github/workflows/ci.yml@main'. The nested job 'redeploy-pre' is requesting 'statuses: write', but is only allowed 'statuses: none'.
with:
model: ${{ vars.NAME }}
permissions:
pull-requests: write
contents: write
secrets: inherit # inherit GitHub Deployment Environment secrets
pr-comment:
name: Comment
# This job is responsible for handling Command Comments like
# `!bump` during an open PR
if: github.event_name == 'issue_comment'
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@main
with:
model: ${{ vars.NAME }}
permissions:
pull-requests: write
contents: write
pr-closed:
name: Closed
# This job is responsible for cleaning up the Prereleases after a
# PR is closed
if: github.event_name == 'pull_request' && github.event.action == 'closed'
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@main
with:
model: ${{ vars.NAME }}
secrets: inherit # inherit GitHub Deployment environment secrets