Create app_pl.arb #75
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: Comment on Merged PR | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
comment-on-pr: | |
if: > | |
github.event.pull_request.merged == true && | |
github.event.pull_request.user.login != 'dependabot[bot]' && | |
github.event.pull_request.user.login != github.repository_owner | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Comment on the PR | |
uses: actions/github-script@v7 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
const commentBody = `Hi @${context.payload.sender.login},\n\nThis task has been completed and will be implemented in the next project release.\n\nThank you for your contribution!`; | |
await github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: commentBody | |
}); |