Skip to content
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

Add builds ignore workflow #11

Merged
merged 1 commit into from
Aug 12, 2022
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
28 changes: 28 additions & 0 deletions .github/workflows/builds.ignore.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Builds

on:
push:
paths-ignore:
- "**.java"
- "**/pom.xml"
- .github/workflows/builds.yaml
pull_request:
types: [opened, synchronize, reopened, edited]
paths-ignore:
- "**.java"
- "**/pom.xml"
- .github/workflows/builds.yaml

concurrency:
group: ${{ github.workflow }}-ignore-${{ github.head_ref }}
cancel-in-progress: true

permissions: {}

jobs:
build:
runs-on: ubuntu-latest

steps:
- run: |
echo "Skipping ${{ github.workflow }}/${{ github.job }}"
31 changes: 16 additions & 15 deletions .github/workflows/builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@ name: Builds

on:
push:
paths-ignore:
- "**.md"
- ".github/ISSUE_TEMPLATE/**"
- ".github/workflows/**"
- "!.github/workflows/builds.yaml"
- .github/dependabot.yaml
- .gitignore
paths:
- "**.java"
- "**/pom.xml"
- .github/workflows/builds.yaml
pull_request:
types: [opened, synchronize, reopened, edited]
paths-ignore:
- "**.md"
- ".github/ISSUE_TEMPLATE/**"
- ".github/workflows/**"
- "!.github/workflows/builds.yaml"
- .github/dependabot.yaml
- .gitignore
paths:
- "**.java"
- "**/pom.xml"
- .github/workflows/builds.yaml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

permissions:
packages: read

jobs:
ubuntu:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/hse-project/ci-images/ubuntu-22.04:master
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/checkoss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
pull_request:
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

permissions: {}

jobs:
check:
runs-on: ubuntu-latest
Expand Down