Skip to content

Commit

Permalink
Update closing-issues-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Nov 11, 2023
1 parent 934deb3 commit e9f7f56
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions .github/workflows/closing-issues-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,34 +175,4 @@ jobs:
frontend-check: ${{ steps.frontend.outcome }}
backend-check: ${{ steps.backend.outcome }}
e2e-check: ${{ steps.e2e.outcome }}
result-comment:
runs-on: ubuntu-latest
needs: application
if: success() || failure()
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const issue = { owner: context.issue.owner, repo: context.issue.repo, issue_number: context.issue.number }
github.rest.issues.listLabelsOnIssue({...issue}).then(response => {
const labels = response.data
for (const label of labels) {
if (label.name == 'area: check') {
github.rest.issues.removeLabel({...issue, name: label.name})
}
}
})
- uses: mshick/[email protected]
with:
issue: ${{ inputs.issue || github.event.issue.number }}
message: |
JHipster has completed the [sample check](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
`.yo-rc.json`: ${{ needs.application.outputs.yo-rc }}
Entities JDL: ${{ needs.application.outputs.entities-jdl }}
Application: ${{ needs.application.outputs.application }}
Frontend check: ${{ needs.application.outputs.frontend-check }}
Backend check: ${{ needs.application.outputs.backend-check }}
E2E check: ${{ needs.application.outputs.e2e-check }}

0 comments on commit e9f7f56

Please sign in to comment.