Skip to content

Move GHA conditional into new guide. #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/ci_tests_run_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ concurrency:

jobs:
tests:
# Do not run the test matrix on PRs affecting the rendering
if: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'html rendering / skip testing') }}

name: ${{ matrix.os }} ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -57,9 +54,6 @@ jobs:


gha_buildhtml:
# When label is used, we do run buildhtml on GHA to check if the publishing job will run or not.
# Use in case when new content has run into troubles on CircleCI.
if: ${{ (github.event_name == 'pull_request') && contains(github.event.pull_request.labels.*.name, 'GHA buildhtml') }}
name: Buildhtml testing
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 3 additions & 1 deletion contributing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Guide to Contributing
# Guide for Contributors

This guide is for contributing content to the tutorials.

First, clone this repository.

Expand Down
1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ caption: Contributing
---

contributing
maintainers
```
16 changes: 16 additions & 0 deletions maintainers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Guide for Maintainers

This guide for configuring and maintaining collection of executable
tutorials.

## Specialized Patterns

Sometimes it is convenient to disable a job in a GitHub Action on certain Pull
Requests. This may be added to the job to configure it to skip Pull Requests
that have a given label called `LABEL`.

```yaml
jobs:
tests:
if: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'LABEL') }}
```