Skip to content

Commit

Permalink
Prevent double github actions (#2374)
Browse files Browse the repository at this point in the history
Co-authored-by: ammar92 <[email protected]>
  • Loading branch information
dekkers and ammar92 authored Jan 24, 2024
1 parent f27afdc commit e271c07
Show file tree
Hide file tree
Showing 21 changed files with 99 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/boefjes_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Boefjes Create container image

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- boefjes/**
- octopoes/**
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/boefjes_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Boefjes Run the test suite

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- boefjes/**
- octopoes/**
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build_docs_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Build docs artifact for PR

on:
pull_request:
branches:
- "**"
paths:
- "docs/**"
- "requirements.txt"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bytes_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Bytes Create container image

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- bytes/**
- .github/workflows/bytes_container_image.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bytes_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Bytes Run the test suite

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- bytes/**
pull_request:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/check_poetry_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Check Poetry dependencies

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- '**/requirements.txt'
- '**/requirements-dev.txt'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debian_package.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Debian packages

on:
pull_request:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
pull_request:

jobs:
changes:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/keiko_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Keiko Create container image

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- keiko/**
- .github/workflows/keiko_container_image.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/keiko_itest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Keiko Run the robot framework integration tests

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- keiko/**
pull_request:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/keiko_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Keiko Run the unit tests

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- keiko/**
pull_request:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/keiko_tex_linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Keiko Check the LaTeX style using linters

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- keiko/**
pull_request:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/masscan_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ name: Create and publish Masscan Docker image
on:
workflow_dispatch: {}
push:
branches: [ main ]
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- 'boefjes/images/masscan/Dockerfile'
- '.github/workflows/masscan_container_image.yml'
pull_request:
branches: [ main ]
paths:
- 'boefjes/images/masscan/Dockerfile'
- '.github/workflows/masscan_container_image.yml'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/mula_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Mula Create container image

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- mula/**
- .github/workflows/mula_container_image.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/mula_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Mula Run the test suite

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- mula/**
pull_request:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/octopoes_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Octopoes Create container image

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- octopoes/**
- .github/workflows/octopoes_container_image.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/octopoes_rtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Octopoes Run the robot framework integration tests

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- octopoes/**
pull_request:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/octopoes_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Octopoes tests

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- octopoes/**
pull_request:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/pre_commit_checks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Pre-commit checks

on: [push, pull_request]
on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
pull_request:

jobs:
pre-commit:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/rocky_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Rocky Create container image

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- octopoes/**
- rocky/**
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/rocky_makelang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Rocky Check if translations are up to date

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- rocky/**
- .github/workflows/rocky_makelang.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/rocky_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Rocky Run the test suite

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- '*'
paths:
- octopoes/**
- rocky/**
Expand Down

0 comments on commit e271c07

Please sign in to comment.