-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7860ebf
commit ce22439
Showing
2 changed files
with
3 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -246,25 +246,3 @@ jobs: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: npx semantic-release | ||
|
||
comment_pr_badge: | ||
timeout-minutes: 5 | ||
name: Comment on PR with generated badge | ||
needs: [pre_ci, badge] | ||
if: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request' && !contains(needs.pre_ci.outputs.commit_message, '#comment-badge') }} | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Generate comment file with test coverage badge | ||
env: | ||
BADGE: ${{ needs.badge.outputs.markdown }} | ||
run: | | ||
echo "Badge: ${BADGE}" | ||
echo "${BADGE}" > output.md | ||
- name: Comment PR with test coverage badge | ||
uses: machine-learning-apps/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
path: output.md |
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