Skip to content

Update README.md

Update README.md #7

Workflow file for this run

on:
pull_request:
types: [closed]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Comment on PR
if: github.event.pull_request.merged == true && github.event.pull_request.labels.*.name contains 'okayy'

Check failure on line 13 in .github/workflows/pr-merged.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-merged.yaml

Invalid workflow file

The workflow is not valid. .github/workflows/pr-merged.yaml (Line: 13, Col: 11): Unexpected symbol: 'contains'. Located at position 85 within expression: github.event.pull_request.merged == true && github.event.pull_request.labels.*.name contains 'okayy'
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.GH_ACTIONS }}
issue-number: ${{ github.event.pull_request.number }}
body: |
This PR has been merged and labeled "okayy"! Thanks @$PR_JSON.author for your contribution!
![Image](assets/gh/image.png)