diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index a1d59cd57..b60439c28 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -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: diff --git a/.github/workflows/allocations.yml b/.github/workflows/allocations.yml index 0f115d513..f9ea23573 100644 --- a/.github/workflows/allocations.yml +++ b/.github/workflows/allocations.yml @@ -1,11 +1,9 @@ name: Allocations on: - push: - branches: - - develop - - 'feature/**' - - 'bugfix/**' + pull_request: + branches-ignore: + - 'doc/**' jobs: allocations: diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 7303a14ae..d74d2c601 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -3,7 +3,7 @@ name: Benchmarks on: pull_request: branches-ignore: - - 'dependabot/**' + - 'doc/**' jobs: run: @@ -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 }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5518d2e72..2f85f116f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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: @@ -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