PR comment JEXEC #16078
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
name: PR comment JEXEC | |
# This workflow is triggered after the linting action is complete | |
on: | |
workflow_run: | |
workflows: ["JEXEC in translations v4", "JEXEC in translations v5"] | |
types: [completed] | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
issues: write | |
actions: write | |
if: ${{ github.event.workflow_run.conclusion == 'failure' }} | |
steps: | |
- name: on artifact | |
id: artifact | |
uses: marocchino/on_artifact@v2 | |
with: | |
name: JEXEC-logs | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
header: JEXEC ${{ steps.artifact.outputs.pr_number }} ${{ steps.artifact.outputs.jversion }} | |
number: ${{ steps.artifact.outputs.pr_number }} | |
message: | | |
The following translation files don't contain the JEXEC on ${{ steps.artifact.outputs.pr_sha }} | |
``` | |
${{ steps.artifact.outputs.jexec_result }} | |
``` | |
Affecting ${{ steps.artifact.outputs.files_affected_jexec }} files in ${{ steps.artifact.outputs.languagepacks_affected_jexec }} language packs. | |