This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(allure.description): allure.description should now fetch the curr…
…ently active test
- Loading branch information
Showing
6 changed files
with
1,314 additions
and
1,269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
name: automerge on pull request | ||
on: [pull_request] | ||
# Base of workflow from [this medium article](https://medium.com/@toufik.airane/automerge-github-dependabot-alerts-with-github-actions-7cd6f5763750) | ||
# According to this [issue](https://github.com/dependabot/feedback/issues/134) if the repo contains the labels "major", "minor", "patch" then Dependabot will automatically label PRs. | ||
|
||
name: Dependabot | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
automerge: | ||
name: automerge dependabot | ||
auto-merge: | ||
name: Merge PRs labelled with Minor or Patch | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
|
||
if: github.actor == 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'minor') || contains(github.event.pull_request.labels.*.name, 'patch')) | ||
|
||
steps: | ||
- name: merge | ||
uses: actions/github-script@0.2.0 | ||
- name: Merge if labels exist | ||
uses: actions/github-script@e2ddba4dfcf622c123222f25bce0589fa3d1d493 | ||
with: | ||
script: | | ||
github.pullRequests.createReview({ | ||
owner: context.payload.repository.owner.login, | ||
repo: context.payload.repository.name, | ||
pull_number: context.payload.pull_request.number, | ||
event: 'APPROVE' | ||
}) | ||
github.pullRequests.merge({ | ||
github.issues.createComment({ | ||
owner: context.payload.repository.owner.login, | ||
repo: context.payload.repository.name, | ||
pull_number: context.payload.pull_request.number | ||
issue_number: context.payload.pull_request.number, | ||
body: '@dependabot merge' | ||
}) | ||
github-token: ${{github.token}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.