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

ci: skip som jobs if coming from renovate #46

Merged
merged 1 commit into from
Oct 10, 2023
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
5 changes: 3 additions & 2 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build examples
name: Package examples

on:
pull_request:
Expand All @@ -14,7 +14,8 @@ concurrency:
cancel-in-progress: true

jobs:
test:
package:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
strategy:
fail-fast: false
matrix:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ concurrency:

jobs:
fmt:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
runs-on: ubuntu-latest

steps:
Expand All @@ -33,6 +34,8 @@ jobs:
run: cargo fmt --all -- --check

clippy:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -76,4 +79,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
- uses: EmbarkStudios/cargo-deny-action@v1
3 changes: 2 additions & 1 deletion .github/workflows/covector-status.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: covector status
name: Covector Status
on: [pull_request]

jobs:
covector:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
runs-on: ubuntu-latest

steps:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: covector version or publish
name: Covector Version or Publish

on:
push:
Expand All @@ -7,6 +7,7 @@ on:

jobs:
version-or-publish:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down Expand Up @@ -34,7 +35,7 @@ jobs:
id: covector
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: 'version-or-publish'
command: "version-or-publish"
createRelease: true

- name: Create Pull Request With Versions Bumped
Expand All @@ -43,7 +44,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: release/version-updates
title: 'release: apply version updates from current changes'
commit-message: 'release: apply version updates from current changes'
labels: 'version updates'
body: ${{ steps.covector.outputs.change }}
title: "release: apply version updates from current changes"
commit-message: "release: apply version updates from current changes"
labels: "version updates"
body: ${{ steps.covector.outputs.change }}