Skip to content

Add a link to Binder on pull requests #112

Add a link to Binder on pull requests

Add a link to Binder on pull requests #112

Workflow file for this run

name: CI
on:
workflow_dispatch:
inputs:
upload-build-artifacts:
type: boolean
required: false
default: false
description: Upload build artifacts
push:
paths-ignore:
- "CHANGELOG.md"
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 11 * * 4"
permissions:
# All nested workflows will inherit these permissions and so no need to declare
# in each step file
contents: read
# Cannot use it in codeql nested workflow without declaring it on
# top level workflow
# Ref: https://docs.github.com/en/actions/using-workflows/reusing-workflows#access-and-permissions
security-events: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
comment-pr:

Check failure on line 33 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: 33, Col: 3): Error calling workflow 'mwouts/jupytext/.github/workflows/step_comment-pr.yml@9ac8e868ccf271d044dd449f537ba494045e470d'. The nested job 'example_comment_pr' is requesting 'pull-requests: write', but is only allowed 'pull-requests: none'.
uses: ./.github/workflows/step_comment-pr.yml
pre-commit:
uses: ./.github/workflows/step_pre-commit.yml
codeql:
needs: [pre-commit]
uses: ./.github/workflows/step_static-analysis.yml
test-pip:
needs: [codeql]
uses: ./.github/workflows/step_tests-pip.yml
test-unit-functional-integration:
needs: [codeql]
uses: ./.github/workflows/step_test_unit_functional.yml
test-conda:
needs: [codeql]
uses: ./.github/workflows/step_tests-conda.yml
test-ui:
needs: [codeql]
uses: ./.github/workflows/step_tests-ui.yml
build:
needs: [test-pip, test-conda, test-ui]
uses: ./.github/workflows/step_build.yml
with:
upload: ${{ inputs.upload-build-artifacts || false }}