mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Ignore paths in workflows if only updating the changelog (#692)
* Add filters so jobs don't run twice for changelog changes * one final tweak * Final tweaks * changelog
This commit is contained in:
parent
e2226d6748
commit
2b5d4640c8
4
.github/workflows/docker-hub-latest.yml
vendored
4
.github/workflows/docker-hub-latest.yml
vendored
@ -4,8 +4,12 @@ name: "Docker Hub - Latest"
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- changelog.d/**'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths-ignore:
|
||||
- changelog.d/**'
|
||||
|
||||
env:
|
||||
DOCKER_NAMESPACE: halfshot
|
||||
|
2
.github/workflows/docs-latest.yml
vendored
2
.github/workflows/docs-latest.yml
vendored
@ -2,6 +2,8 @@ name: Build docs
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- changelog.d/**'
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -3,8 +3,12 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths-ignore:
|
||||
- changelog.d/**'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths-ignore:
|
||||
- changelog.d/**'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
1
changelog.d/692.misc
Normal file
1
changelog.d/692.misc
Normal file
@ -0,0 +1 @@
|
||||
Only run changelog checks when only the changelog changes in CI.
|
Loading…
x
Reference in New Issue
Block a user