Skip to content

Commit

Permalink
Devops: Loosen trigger conditions for Docker build CI workflow (#6131)
Browse files Browse the repository at this point in the history
The docker build workflow was only activated when changes were made to
either the `.docker` directory or `.github/workflows/docker*.yaml` files.
However, changes in the `aiida` package could also break the build and
so could pass by unnoticed.

The trigger conditions are changed to instead trigger always except for
changes to the `tests` and `docs` directories.
  • Loading branch information
unkcpz authored Sep 22, 2023
1 parent 624dcd9 commit 1b5b669
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: Build, test and push Docker Images

on:
pull_request:
paths:
- .docker/**
- .github/workflows/docker-*.yml
paths-ignore:
- "docs/**"
- "tests/**"
push:
branches:
- main
tags:
- "v*"
paths:
- .docker/**
- .github/workflows/docker-*.yml
paths-ignore:
- "docs/**"
- "tests/**"
workflow_dispatch:

# https://docs.github.com/en/actions/using-jobs/using-concurrency
Expand Down

0 comments on commit 1b5b669

Please sign in to comment.