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

Dependabot benchmark and doc ignores, reorganize what action is run when #246

Merged
merged 7 commits into from
Feb 14, 2024
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
13 changes: 1 addition & 12 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
name: Run tests

on:
push:
branches:
- master
- develop
- 'feature/**'
- 'bugfix/**'
# tags: '*'
pull_request:
branches:
- master
- develop
- feature/github-actions
push

jobs:
test:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/allocations.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Allocations

on:
push:
branches:
- develop
- 'feature/**'
- 'bugfix/**'
pull_request:
branches-ignore:
- 'doc/**'

jobs:
allocations:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Benchmarks
on:
pull_request:
branches-ignore:
- 'dependabot/**'
- 'doc/**'

jobs:
run:
Expand Down Expand Up @@ -48,13 +48,13 @@ jobs:

# create/update comment
- name: create comment
if: ${{ steps.fc.outputs.comment-id == 0 }}
if: ${{ steps.fc.outputs.comment-id == 0 }} && github.actor != 'dependabot[bot]'
uses: peter-evans/create-or-update-comment@v1
with:
issue-number: ${{ github.event.pull_request.number }}
body: ${{ steps.generate-result-markdown.outputs.body }}
- name: update comment
if: ${{ steps.fc.outputs.comment-id != 0 }}
if: ${{ steps.fc.outputs.comment-id != 0 }} && github.actor != 'dependabot[bot]'
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,10 @@ name: Documentation
on:
push:
branches:
- master
- develop
- feature/github-actions
- feature/doc-**
- 'doc/**'
branches-ignore:
- 'dependabot/**'
tags: '*'
pull_request:
branches:
- master
- develop
- feature/github-actions
- feature/doc-**
- 'doc/**'
branches-ignore:
- 'dependabot/**'
- '*'

jobs:
build:
Expand All @@ -42,6 +29,7 @@ jobs:
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia --project=docs/ -e 'using Rimu'
- name: Build and deploy
if: github.actor != 'dependabot[bot]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --project=docs/ docs/make.jl
Loading