Skip to content

Fix wording in warning message #64

Fix wording in warning message

Fix wording in warning message #64

Workflow file for this run

name: When Opened
on:
issues:
types:
- opened
pull_request_target:
types:
- opened
jobs:
triage:
runs-on: ubuntu-latest
steps:
- name: Label PR
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
if: github.event_name == 'pull_request_target' || github.event_name == 'pull_request'
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- name: 'Comment Draft PR'
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
if: github.event.pull_request.draft == true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Thank you for your draft pull request! Do you know that you can use `[ci skip]` or `[skip ci]` in your commit messages to skip running continuous integration tests until you are ready?'
})
- name: Special comment
uses: pllim/action-special_pr_comment@5126c189c02418a55448480b28efd1a00af48d7b # 0.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}