Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 committed Oct 19, 2024
1 parent bb0ef6f commit a9abbe7
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 43 deletions.
24 changes: 22 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ updates:
schedule:
interval: "daily"

groups:
# Specify a name for the group, which will be used in pull request titles
# and branch names
minor-patch-dependencies:
applies-to: "version-updates"
# Define patterns to include dependencies in the group (based on
# dependency name)
patterns:
- "*"

open-pull-requests-limit: 10

reviewers:
Expand All @@ -29,7 +39,7 @@ updates:
prefix: "github-actions (master)"

# Disable rebasing for all pull requests
rebase-strategy: "auto"
rebase-strategy: "disabled"

- package-ecosystem: "github-actions"

Expand All @@ -38,6 +48,16 @@ updates:
schedule:
interval: "daily"

groups:
# Specify a name for the group, which will be used in pull request titles
# and branch names
minor-patch-dependencies:
applies-to: "version-updates"
# Define patterns to include dependencies in the group (based on
# dependency name)
patterns:
- "*"

open-pull-requests-limit: 10

reviewers:
Expand All @@ -55,4 +75,4 @@ updates:
prefix: "github-actions (8.1)"

# Disable rebasing for all pull requests
rebase-strategy: "auto"
rebase-strategy: "disabled"
19 changes: 0 additions & 19 deletions .github/workflows/auto-approve.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/auto-merge.yml

This file was deleted.

15 changes: 14 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ jobs:
uses: "paambaati/[email protected]"
if: inputs.upload-codeclimate == true
env:
CC_TEST_REPORTER_ID: "${{ secrets.CODECLIMATE_API_KEY }}"
CC_TEST_REPORTER_ID: "${{ secrets.ENV_CODECLIMATE_API_KEY }}"
with:
coverageLocations: ".reports/clover.xml:clover"
debug: false
Expand Down Expand Up @@ -344,6 +344,8 @@ jobs:
file: ".reports/clover.xml"
flags: "stryker,nodejs-${{ matrix.node-version }},${{ matrix.operating-system }},${{ inputs.upload-flag }}"
verbose: false
env:
CODECOV_TOKEN: "${{ secrets.ENV_CODECOV_TOKEN }}"

- name: "Upload coverage to Codeclimate"
uses: "paambaati/[email protected]"
Expand All @@ -354,6 +356,17 @@ jobs:
coverageLocations: ".reports/clover.xml:clover"
debug: false

- name: "Upload coverage to Coveralls"
uses: "coverallsapp/github-action@v2"
if: inputs.upload-coveralls == true
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
flag-name: "nodeJS ${{ matrix.node-version }} on ${{ matrix.operating-system }}"
parallel: true
file: ".reports/clover.xml"
format: "clover"
debug: false

# This is a meta job to avoid to have to constantly change the protection rules
# whenever we touch the matrix.
tests-status:
Expand Down

0 comments on commit a9abbe7

Please sign in to comment.