PR comment #16402
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 | |
# This workflow is triggered after the linting action is complete | |
on: | |
workflow_run: | |
workflows: ["En_GBLocalise in translations v4", "En_GBLocalise 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: En_GBLocalise-logs | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
header: En_GBLocalise-class ${{ steps.artifact.outputs.pr_number }} ${{ steps.artifact.outputs.jversion }} | |
number: ${{ steps.artifact.outputs.pr_number }} | |
message: | | |
The following translation files contain the En_GBLocalise class on ${{ steps.artifact.outputs.pr_sha }} | |
``` | |
${{ steps.artifact.outputs.en_gblocalise_result }} | |
``` | |
Affecting ${{ steps.artifact.outputs.files_affected }} files in ${{ steps.artifact.outputs.languagepacks_affected }} language packs. | |