Skip to content

Commit

Permalink
ci(fix): wait until tests pass before merging updates to dependencies (
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg authored Oct 11, 2024
1 parent 290f581 commit ddc352d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ jobs:
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Wait for tests to succeed
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: "Monitor energy usage"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Wait for packaging to pass
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: "Post a notification"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Merge requests from the kind dependabot
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: gh pr merge --auto --squash "$PR_URL"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ to [Semantic Versioning][semver].
### Maintenance

- Write reminders for the steps involved in wiki page updates
- Wait until tests pass before merging updates to dependencies

## [1.1.1] - 2024-09-08

Expand Down

0 comments on commit ddc352d

Please sign in to comment.